Hayagriv Sridharan

Results 2 comments of Hayagriv Sridharan

Thanks Uri. If i try to use your command I get this error. https://docs.angularjs.org/error/$injector/unpr?p0=TestServiceProvider%20%3C-%20TestService The trouble is there is no way to register the service beforehand as a dependency with...

Finally cracked it! the trick is to run your service inside an ngApp on the head. And manually bootstrap another ng-app on the body with all the dependencies wired in....