It seems that angular.injector() creates a new module instance and it does not depend on the module instance associated with html via the ng-app attribute.
Thus, the solution is to use a manual bootstrap and get an injector there. Use this injector, you can access the service instance and $rootScope , which actually controls the view.
Here is the updated fiddle; http://jsfiddle.net/d8vX3/1/
source share