[API] Load bundles from imperative registry

This commit is contained in:
Victor Woeltjen
2016-01-06 11:22:44 -08:00
parent 65fb5ab2a5
commit a39e8e44f0
4 changed files with 28 additions and 8 deletions

View File

@ -56,7 +56,7 @@ define(
function Main() {
}
Main.prototype.run = function () {
Main.prototype.run = function (legacyRegistry) {
// Get a reference to Angular's injector, so we can get $http and $log
// services, which are useful to the framework layer.
var injector = angular.injector(['ng']);
@ -74,7 +74,7 @@ define(
// to the root now.
requirejs.config({"baseUrl": ""});
injector.instantiate(['$http', '$log', FrameworkLayer])
.initializeApplication(angular, logLevel());
.initializeApplication(angular, legacyRegistry, logLevel());
};
return Main;