Trying to bypass the angular deferredbootstrapper for the standard application initialize.
Am I supposed to invoke the app with this injector module method? docs.angularjs.org/api/ng/function/angular.injector
Rewriting Angular.js app to do away with deferredBootstrapper
getting errors like
Uncaught Error: [$injector:modulerr] Failed to instantiate module ECP due to: Error: [$injector:unpr] Unknown provider: $http
Error: [ng:areq] Argument 'Nav' is not a function, got undefined
--- not sure how to include the previous injectorModules --- or tap into the Account and User variables to stash information before other modules are loaded
app.config(["$http", "$q", "Account", "Layout",
function ($http, $q, Account, Layout) {
Seems like the wrong way to do it. To me it looks similar to how a directive is setup.