-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (35 loc) · 1000 Bytes
/
index.html
File metadata and controls
42 lines (35 loc) · 1000 Bytes
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
<!DOCTYPE html>
<html>
<head>
<link rel = "stylesheet" href = "style.css" />
</head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular-route.js"></script>
<body ng-app="myApp">
<script src="script.js"></script>
<p><a href="#/!">INDEX</a></p>
<a href="#!generateForm">Generate Form</a>
<a href="#!form">Form</a>
<a href="#!remainingStock">Remaining Stock</a>
<a href="#!other">Other</a>
<div ng-view></div>
<script>
var app = angular.module("myApp", ["ngRoute"]);
app.config(function($routeProvider) {
$routeProvider
.when("/", {
templateUrl : "other.html"
})
.when("/form", {
templateUrl : "form.html"
})
.when("/generateForm", {
templateUrl : "generateForm.html"
})
.when("/remainingStock", {
templateUrl : "remainingStock.html"
});
});
</script>
</body>
</html>