diff --git a/examples/angular-1/sibbling-routes/app.js b/examples/angular-1/sibbling-routes/app.js index 74e31c4..ec2fba0 100644 --- a/examples/angular-1/sibbling-routes/app.js +++ b/examples/angular-1/sibbling-routes/app.js @@ -6,7 +6,7 @@ angular.module('myApp', [ function AppController($router) { $router.config([ { path: '/', redirectTo: '/users/posts' }, - { path: '/users/posts', components: { left: 'users', right: 'posts' } }, - { path: '/posts/users', components: { left: 'posts', right: 'users' } }, + { path: '/users/posts', component: { left: 'users', right: 'posts' } }, + { path: '/posts/users', component: { left: 'posts', right: 'users' } }, ]); } diff --git a/examples/angular-1/sibbling-routes/index.html b/examples/angular-1/sibbling-routes/index.html index 6c65079..4b9840f 100644 --- a/examples/angular-1/sibbling-routes/index.html +++ b/examples/angular-1/sibbling-routes/index.html @@ -8,8 +8,8 @@