-
Notifications
You must be signed in to change notification settings - Fork 100
/
Copy pathindex.html
32 lines (32 loc) · 1.23 KB
/
index.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
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>CoffeeScript AngularJS Example Application</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="description" content="JavaScript AngularJS Example Application">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
</head>
<body>
<h1>{ CoffeeScript Example }</h1>
<div ng-view></div>
</div>
<!-- angular -->
<script src="../bower_components/angular/angular.js"></script>
<!-- dependencies -->
<script src="../bower_components/angular-route/angular-route.js"></script>
<script src="../bower_components/angular-sanitize/angular-sanitize.js"></script>
<!-- application code -->
<script src="app.coffee" type="text/coffeescript"></script>
<!-- run CoffeeScript in the browser -->
<script src="coffee-script.js"></script>
<script>
setTimeout(function () {
// Bootstrap Angular once CoffeeScript is compiled.
// Note: this is just to show it can be done this way.
// You really should pre-process your CoffeeScript!
angular.bootstrap(document, ['myApp']);
}, 99);
</script>
</body>
</html>