Manual bootstrapping

This commit is contained in:
tanshu 2018-05-15 15:06:04 +05:30
parent d6aab88ce8
commit 98e97f63c0
3 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,4 @@
import * as angular from 'angular';
import './overlord.app';
angular.bootstrap(document.body, ['overlord'], {strictDi: false});

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" ng-app="overlord"> <html lang="en">
<head> <head>
<base href="/"> <base href="/">
<meta charset="utf-8"> <meta charset="utf-8">

View File

@ -33,7 +33,7 @@
}; };
var packages = { var packages = {
"app": {main: "overlord.app.js", defaultExtension: "js"}, "app": {main: "app.module.js", defaultExtension: "js"},
"angular": {main: "index.js", defaultExtension: "js"}, "angular": {main: "index.js", defaultExtension: "js"},
"ngAnimate": {main: "index.js", defaultExtension: "js"}, "ngAnimate": {main: "index.js", defaultExtension: "js"},
"angular-animate": {main: "index.js", defaultExtension: "js"}, "angular-animate": {main: "index.js", defaultExtension: "js"},