I am trying to manually bootstrap my angular app in order to load some data asynchronously that my app relies on. See this article
The problem is no matter what I try I cant get access to an instance of a factory using angular.injector. See this plunker
The problem is anytime I run code like this:
var Injector = angular.injector(["MyAPP", "ng"]);
var initService = Injector.get("MyService");
I just get unknown provider errors.
Can someone please help me make this plunker work, or point me to a better way to create an angular app initialization service. thanks,