From 339732646e435680f5e854b8a7159d071a09c77d Mon Sep 17 00:00:00 2001 From: Waitaya Krongapiradee Date: Fri, 25 Dec 2015 15:21:50 -0800 Subject: [PATCH] docs(tutorial): minor grammar fix --- docs/content/tutorial/index.ngdoc | 6 +++--- docs/content/tutorial/step_05.ngdoc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/content/tutorial/index.ngdoc b/docs/content/tutorial/index.ngdoc index 22139e5c1c35..f96c0a2ad5e0 100644 --- a/docs/content/tutorial/index.ngdoc +++ b/docs/content/tutorial/index.ngdoc @@ -61,7 +61,7 @@ a few git commands. ### Install Git -You can download and install Git from http://git-scm.com/download. Once installed you should have +You can download and install Git from http://git-scm.com/download. Once installed, you should have access to the `git` command line tool. The main commands that you will need to use are: - `git clone ...` : clone a remote repository onto your local machine @@ -123,7 +123,7 @@ npm --version . -Once you have Node.js installed on your machine you can download the tool dependencies by running: +Once you have Node.js installed on your machine, you can download the tool dependencies by running: ``` npm install @@ -198,7 +198,7 @@ http://localhost:8000/app/index.html ```
-To serve the web app on a different ip address or port, edit the "start" script within package.json. +To serve the web app on a different IP address or port, edit the "start" script within package.json. You can use `-a` to set the address and `-p` to set the port.
diff --git a/docs/content/tutorial/step_05.ngdoc b/docs/content/tutorial/step_05.ngdoc index fd7135cc6f8a..c7db2889567e 100644 --- a/docs/content/tutorial/step_05.ngdoc +++ b/docs/content/tutorial/step_05.ngdoc @@ -65,7 +65,7 @@ phonecatApp.controller('PhoneListCtrl', function ($scope, $http) { `$http` makes an HTTP GET request to our web server, asking for `phones/phones.json` (the url is relative to our `index.html` file). The server responds by providing the data in the json file. (The response might just as well have been dynamically generated by a backend server. To the -browser and our app they both look the same. For the sake of simplicity we used a json file in this +browser and our app, they both look the same. For the sake of simplicity, we used a json file in this tutorial.) The `$http` service returns a {@link ng.$q promise object} with a `success` @@ -114,7 +114,7 @@ as strings, which will not get minified. There are two ways to provide these inj * Create a `$inject` property on the controller function which holds an array of strings. Each string in the array is the name of the service to inject for the corresponding parameter. - In our example we would write: + In our example, we would write: ```js function PhoneListCtrl($scope, $http) {...}