Skip to content

fix(docs): Update 'ui.router' to 'ui.state' and a typo in an example #331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2013
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