From 828748f7a1b5319f17476c89bfd5264795d2aa16 Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Sun, 18 Aug 2013 21:53:04 +0200 Subject: [PATCH] fix(docs): Update 'ui.router' to 'ui.state' and a typo in an example --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ca93ffb15..dfab3ac47 100644 --- a/README.md +++ b/README.md @@ -66,10 +66,10 @@ To evolve the concept of an [angularjs](http://angularjs.org/) [***route***](htt ``` -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 @@ -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