File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,16 @@ To evolve the concept of an [angularjs](http://angularjs.org/) [***route***](htt
56
56
<html ng-app =" myapp" >
57
57
<head >
58
58
<script src =" https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js" ></script >
59
- <script src =" angular-ui-router.min.js" ></script >
59
+ <script src =" angular-ui-router.min.js" ></script > <!-- Insert after main angular.js file -->
60
60
```
61
61
62
- 2 . Add one or more ` ui-view ` to your app, give them names.
62
+ 2 . Set ` ui.state ` as a dependency in your module
63
+ >
64
+ ``` javascript
65
+ var myapp = angular .module (' myapp' , [' ui.state' ])
66
+ ```
67
+
68
+ 3 . Add one or more ` ui-view ` to your app, give them names.
63
69
>
64
70
``` html
65
71
<body >
@@ -71,12 +77,6 @@ To evolve the concept of an [angularjs](http://angularjs.org/) [***route***](htt
71
77
</body >
72
78
```
73
79
74
- 3 . Set ` ui.state ` as a dependency in your module
75
- >
76
- ``` javascript
77
- var myapp = angular .module (' myapp' , [' ui.state' ])
78
- ```
79
-
80
80
4 . Set up your states in the module config
81
81
>
82
82
``` javascript
You can’t perform that action at this time.
0 commit comments