File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ To evolve the concept of an [angularjs](http://angularjs.org/) [***route***](htt
66
66
<script src =" angular-ui-router.min.js" ></script > <!-- Insert after main angular.js file -->
67
67
```
68
68
69
- 2 . Set ` ui.router ` as a dependency in your module
69
+ 2 . Set ` ui.state ` as a dependency in your module
70
70
>
71
71
``` javascript
72
- var myapp = angular .module (' myapp' , [' ui.router ' ])
72
+ var myapp = angular .module (' myapp' , [' ui.state ' ])
73
73
```
74
74
75
75
### Nested States & Views
@@ -187,7 +187,7 @@ Another handy feature is the ability to have more than one view per template. Pl
187
187
3 . Set up your states in the module config:
188
188
>
189
189
``` javascript
190
- myapp .config (function ($stateProvide ){
190
+ myapp .config (function ($stateProvider ){
191
191
$stateProvider
192
192
.state (' index' , {
193
193
url: " " , // root route
You can’t perform that action at this time.
0 commit comments