Skip to content

Commit 92388f8

Browse files
committed
Merge pull request #331 from Foxandxss/patch-1
fix(docs): Update 'ui.router' to 'ui.state' and a typo in an example
2 parents 282fc1b + 828748f commit 92388f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff 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
187187
3. 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

0 commit comments

Comments
 (0)