Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ To evolve the concept of an [angularjs](http://angularjs.org/) [***route***](htt
<script src="angular-ui-router.min.js"></script> <!-- Insert after main angular.js file -->
```

2. Set `ui.router` as a dependency in your module
2. Set `ui.state` as a dependency in your module
>
```javascript
var myapp = angular.module('myapp', ['ui.router'])
var myapp = angular.module('myapp', ['ui.state'])
```

### Nested States & Views
Expand Down Expand Up @@ -187,7 +187,7 @@ Another handy feature is the ability to have more than one view per template. Pl
3. Set up your states in the module config:
>
```javascript
myapp.config(function($stateProvide){
myapp.config(function($stateProvider){
$stateProvider
.state('index', {
url: "", // root route
Expand Down