File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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
6666 <script src =" angular-ui-router.min.js" ></script > <!-- Insert after main angular.js file -->
6767```
6868
69- 2 . Set ` ui.router ` as a dependency in your module
69+ 2 . Set ` ui.state ` as a dependency in your module
7070>
7171``` javascript
72- var myapp = angular .module (' myapp' , [' ui.router ' ])
72+ var myapp = angular .module (' myapp' , [' ui.state ' ])
7373```
7474
7575### Nested States & Views
@@ -187,7 +187,7 @@ Another handy feature is the ability to have more than one view per template. Pl
1871873 . Set up your states in the module config:
188188>
189189``` javascript
190- myapp .config (function ($stateProvide ){
190+ myapp .config (function ($stateProvider ){
191191 $stateProvider
192192 .state (' index' , {
193193 url: " " , // root route
You can’t perform that action at this time.
0 commit comments