-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (53 loc) · 2.4 KB
/
index.html
File metadata and controls
61 lines (53 loc) · 2.4 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html ng-app='BookStore'>
<head>
<meta charset='utf-8'>
<title>Angular Workshop</title>
<link rel="icon" href="favicon.png"/>
<link rel='stylesheet' href='./assets/css/bootstrap.min.css'>
<link rel='stylesheet' href='./assets/css/styles.css'>
</head>
<body>
<nav class='navbar navbar-default'>
<div class='container-fluid'>
<!-- Brand and toggle get grouped for better mobile display -->
<div class='navbar-header'>
<button type='button' class='navbar-toggle collapsed' data-toggle='collapse' data-target='#bs-example-navbar-collapse-1' aria-expanded='false'>
<span class='sr-only'>Toggle navigation</span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
</button>
<a class='navbar-brand' href='#'>Book Store</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class='collapse navbar-collapse' id='bs-example-navbar-collapse-1'>
<ul class='nav navbar-nav navbar-right'>
<li><a ui-sref='books.list'>Books</a></li>
<li><a ui-sref='books.add'>Add Book</a></li>
<li><a ui-sref='books.genre'>Add Genre</a></li>
<li><a ui-sref='books.genreUpdate'>Update Genre</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<!-- Views would be injected here based on routes -->
<div ui-view></div>
<!-- 3rd Party Libraries -->
<script src='./assets/js/angular.min.js'></script>
<script src='./assets/js/ui-bootstrap-tpls-2.1.3.min.js'></script>
<script src='./assets/js/angular-ui-router.min.js'></script>
<!-- App modules -->
<!-- Entry point -->
<script src='./index.js' charset='utf-8'></script>
<!-- Controllers -->
<script src='./modules/book.ctrl.js' charset='utf-8'></script>
<script src='./modules/book-add.ctrl.js' charset='utf-8'></script>
<script src='./modules/book-update.ctrl.js' charset='utf-8'></script>
<script src='./modules/genre-add.ctrl.js' charset='utf-8'></script>
<script src='./modules/genre-update.ctrl.js' charset='utf-8'></script>
<!-- Services -->
<script src='./modules/book.service.js' charset='utf-8'></script>
<script src='./modules/genre.service.js' charset='utf-8'></script>
</body>
</html>