diff --git a/docs/content/guide/component-router.ngdoc b/docs/content/guide/component-router.ngdoc index c0cdc9ec4d58..0aec915f3be0 100644 --- a/docs/content/guide/component-router.ngdoc +++ b/docs/content/guide/component-router.ngdoc @@ -33,7 +33,7 @@ Here is a table of the main concepts used in the Component Router. ## Component-based Applications -It recommended to develop AngularJS applications as a hierarchy of Components. Each Component +It is recommended to develop AngularJS applications as a hierarchy of Components. Each Component is an isolated part of the application, which is responsible for its own user interface and has a well defined programmatic interface to the Component that contains it. Take a look at the {@link guide/component component guide} for more information. @@ -124,7 +124,7 @@ This process continues until we run out of **Routing Components** or consume the  -In the previous diagram can see that the URL `/heros/2` has been matched against the `App`, `Heroes` and +In the previous diagram, we can see that the URL `/heros/2` has been matched against the `App`, `Heroes` and `HeroDetail` **Routing Components**. The **Routers** for each of the **Routing Components** consumed a part of the URL: "/", "/heroes" and "/2" respectively. @@ -462,7 +462,7 @@ to display list and detail views of Heroes and Crises. ## Install the libraries -It is simplest to use npm to install the **Component Router** module. For this guide we will also install +It is easier to use npm to install the **Component Router** module. For this guide we will also install AngularJS itself via npm: ```bash @@ -485,7 +485,7 @@ Just like any Angular application, we load the JavaScript files into our `index. ## Create the `app` module -In the app.js file, create the main application module `app` which depends upon the `ngComponentRouter` +In the app.js file, create the main application module `app` which depends on the `ngComponentRouter` module, which is provided by the **Component Router** script. ```js @@ -494,10 +494,10 @@ angular.module('app', ['ngComponentRouter']) We must choose what **Location Mode** the **Router** should use. We are going to use HTML5 mode locations, so that we will not have hash-based paths. We must rely on the browser to provide `pushState` support, -which is true of most modern browsers. See {@link $locationProvider#html5Mode} for more information. +which is true for most modern browsers. See {@link $locationProvider#html5Mode} for more information.