Check if an AngularJS service is loaded