-
Notifications
You must be signed in to change notification settings - Fork 1
/
index-ng1.html
47 lines (47 loc) · 1.23 KB
/
index-ng1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta charset="UTF-8">
<title>Angular 1 - Board</title>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<style>
.counter{
display: block;
width: 50px; height: 50px;
border: 1px dotted black;
text-align: center;
vertical-align: middle;
margin: 8px;
}
.flow{ float:left; }
</style>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script>
System.config({
paths: {
// paths serve as alias
'npm:': 'node_modules/'
},
map: {
// our app is within the app folder
app: 'dist/tsc-out/ng1',
angular: 'npm:angular'
},
packages: {
app: {
main: './app.module.js',
defaultExtension: 'js'
},
angular:{
main: './angular.min.js',
defaultExtension: 'js'
}
}
});
System.import('app');
</script>
</head>
<body>
<board></board>
</body>
</html>