Hi, I got the same problem, i'm not using ng-view, but ui-view (ui-router plugin). I have the same issue, when i try to use the following code to get the current app injector, it always return undefined.
angular.element(document.body).injector(); //return undefined. Until i move the ui-view directive to a separate div, that not together with ng-app, then it work fine. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
