Render main and inspector using angular

This commit is contained in:
Pete Richards
2018-08-16 12:43:10 -07:00
parent 233c17e75b
commit 17cf0cf1e6
22 changed files with 459 additions and 324 deletions

View File

@ -55,9 +55,12 @@ define(
var angular = this.angular,
document = this.document,
$log = this.$log;
$log.info("Bootstrapping application " + (app || {}).name);
angular.element(document).ready(function () {
angular.bootstrap(document, [app.name], { strictDi: true });
return new Promise(function (resolve, reject) {
$log.info("Bootstrapping application " + (app || {}).name);
angular.element(document).ready(function () {
angular.bootstrap(document, [app.name], { strictDi: true });
resolve(angular);
});
});
};