Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 872df16

Browse files
committed
docs(tutorial): minor grammar fix
1 parent 798fb18 commit 872df16

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/content/tutorial/index.ngdoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ a few git commands.
6161

6262
### Install Git
6363

64-
You can download and install Git from http://git-scm.com/download. Once installed you should have
64+
You can download and install Git from http://git-scm.com/download. Once installed, you should have
6565
access to the `git` command line tool. The main commands that you will need to use are:
6666

6767
- `git clone ...` : clone a remote repository onto your local machine
@@ -123,7 +123,7 @@ npm --version
123123
</a>.
124124
</div>
125125

126-
Once you have Node.js installed on your machine you can download the tool dependencies by running:
126+
Once you have Node.js installed on your machine, you can download the tool dependencies by running:
127127

128128
```
129129
npm install
@@ -198,7 +198,7 @@ http://localhost:8000/app/index.html
198198
```
199199

200200
<div class="alert alert-info">
201-
To serve the web app on a different ip address or port, edit the "start" script within package.json.
201+
To serve the web app on a different IP address or port, edit the "start" script within package.json.
202202
You can use `-a` to set the address and `-p` to set the port.
203203
</div>
204204

@@ -221,7 +221,7 @@ This will start the Karma unit test runner. Karma will read the configuration fi
221221
- open up a Chrome browser and connect it to Karma
222222
- execute all the unit tests in this browser
223223
- report the results of these tests in the terminal/command line window
224-
- watch all the project's JavaScript files and re-run the tests whenever any of these change
224+
- watch all the project's JavaScript files and re-run the tests whenever any of these changes
225225

226226
It is good to leave this running all the time, in the background, as it will give you immediate
227227
feedback about whether your changes pass the unit tests while you are working on the code.

docs/content/tutorial/step_05.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ phonecatApp.controller('PhoneListCtrl', function ($scope, $http) {
6565
`$http` makes an HTTP GET request to our web server, asking for `phones/phones.json` (the url is
6666
relative to our `index.html` file). The server responds by providing the data in the json file.
6767
(The response might just as well have been dynamically generated by a backend server. To the
68-
browser and our app they both look the same. For the sake of simplicity we used a json file in this
68+
browser and our app, they both look the same. For the sake of simplicity, we used a json file in this
6969
tutorial.)
7070

7171
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
114114

115115
* Create a `$inject` property on the controller function which holds an array of strings.
116116
Each string in the array is the name of the service to inject for the corresponding parameter.
117-
In our example we would write:
117+
In our example, we would write:
118118

119119
```js
120120
function PhoneListCtrl($scope, $http) {...}

0 commit comments

Comments
 (0)