Skip to content

Commit 10b5123

Browse files
committed
Small example code correction, fixes #424
1 parent c4661ed commit 10b5123

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ When you're done, your setup should look similar to the following:
4545
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js"></script>
4646
<script src="js/angular-ui-router.min.js"></script>
4747
<script>
48-
var myApp = angular.module('myapp', ['ui.router']);
48+
var myApp = angular.module('myApp', ['ui.router']);
4949
</script>
5050
...
5151
</head>
@@ -181,7 +181,7 @@ interfaces more effectively by nesting your views, and pairing those views with
181181
**(3)** Set up your states in the module config:
182182
>
183183
```javascript
184-
myapp.config(function($stateProvider, $routeProvider){
184+
myApp.config(function($stateProvider, $routeProvider){
185185
$stateProvider
186186
.state('index', {
187187
url: "",

0 commit comments

Comments
 (0)