Skip to content

Commit 2e32eea

Browse files
wytesk133Narretz
authored andcommitted
docs(tutorial): fix some minor punctuation errors
Closes angular#13633
1 parent 6a7c729 commit 2e32eea

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/content/tutorial/index.ngdoc

+3-3
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

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)