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

Commit 7706040

Browse files
petebacondarwingkalpak
authored andcommitted
docs(*): use the name AngularJS rather than Angular
1 parent 10a4f37 commit 7706040

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

.jshintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"strict": "global",
33
"globals": {
4-
// Angular
4+
// AngularJS
55
"angular": false,
66

7-
// Angular mocks
7+
// AngularJS mocks
88
"module": false,
99
"inject": false,
1010

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This project is an application skeleton for a typical [AngularJS][angularjs] web app. You can use it
44
to quickly bootstrap your angular webapp projects and dev environment for these projects.
55

6-
The seed contains a sample AngularJS application and is preconfigured to install the Angular
6+
The seed contains a sample AngularJS application and is preconfigured to install the AngularJS
77
framework and a bunch of development and testing tools for instant web development gratification.
88

99
The seed app doesn't do much, just shows how to wire two controllers and views together.
@@ -39,15 +39,15 @@ The `depth=1` tells git to only pull down one commit worth of historical data.
3939

4040
### Install Dependencies
4141

42-
We have two kinds of dependencies in this project: tools and Angular framework code. The tools help
42+
We have two kinds of dependencies in this project: tools and AngularJS framework code. The tools help
4343
us manage and test the application.
4444

45-
* We get the tools we depend upon and the Angular code via `npm`, the [Node package manager][npm].
45+
* We get the tools we depend upon and the AngularJS code via `npm`, the [Node package manager][npm].
4646
* In order to run the end-to-end tests, you will also need to have the
4747
[Java Development Kit (JDK)][jdk] installed on your machine. Check out the section on
4848
[end-to-end testing](#e2e-testing) for more info.
4949

50-
We have preconfigured `npm` to automatically copy the downloaded Angular files to `app/lib` so we
50+
We have preconfigured `npm` to automatically copy the downloaded AngularJS files to `app/lib` so we
5151
can simply do:
5252

5353
```
@@ -58,9 +58,9 @@ Behind the scenes this will also call `npm run copy-libs`, which copies the Angu
5858
frontend dependencies. After that, you should find out that you have two new directories in your project.
5959

6060
* `node_modules` - contains the npm packages for the tools we need
61-
* `app/lib` - contains the Angular framework files and other frontend dependencies
61+
* `app/lib` - contains the AngularJS framework files and other frontend dependencies
6262

63-
*Note copying the Angular files from `node_modules` to `app/lib` makes it easier to serve the files
63+
*Note copying the AngularJS files from `node_modules` to `app/lib` makes it easier to serve the files
6464
by a web server.*
6565

6666
### Run the Application
@@ -145,7 +145,7 @@ npm run test-single-run
145145

146146
The `angular-seed` app comes with end-to-end tests, again written in [Jasmine][jasmine]. These tests
147147
are run with the [Protractor][protractor] End-to-End test runner. It uses native events and has
148-
special features for Angular applications.
148+
special features for AngularJS applications.
149149

150150
* The configuration is found at `e2e-tests/protractor-conf.js`.
151151
* The end-to-end tests are found in `e2e-tests/scenarios.js`.
@@ -187,7 +187,7 @@ the [Java Development Kit (JDK)][jdk] to be installed on your local machine. Che
187187
If JDK is not already installed, you can download it [here][jdk-download].
188188

189189

190-
## Updating Angular
190+
## Updating AngularJS
191191

192192
Since the AngularJS framework library code and tools are acquired through package managers (e.g.
193193
npm) you can use these tools to easily update the dependencies. Simply run the preconfigured script:
@@ -200,24 +200,24 @@ This will call `npm update` and `npm run copy-libs`, which in turn will find and
200200
versions that match the version ranges specified in the `package.json` file.
201201

202202

203-
## Loading Angular Asynchronously
203+
## Loading AngularJS Asynchronously
204204

205205
The `angular-seed` project supports loading the framework and application scripts asynchronously.
206206
The special `index-async.html` is designed to support this style of loading. For it to work you must
207-
inject a piece of Angular JavaScript into the HTML page. The project has a predefined script to help
207+
inject a piece of AngularJS JavaScript into the HTML page. The project has a predefined script to help
208208
do this:
209209

210210
```
211211
npm run update-index-async
212212
```
213213

214214
This will copy the contents of the `angular-loader.js` library file into the `index-async.html`
215-
page. You can run this every time you update the version of Angular that you are using.
215+
page. You can run this every time you update the version of AngularJS that you are using.
216216

217217

218218
## Serving the Application Files
219219

220-
While Angular is client-side-only technology and it is possible to create Angular web apps that
220+
While AngularJS is client-side-only technology and it is possible to create AngularJS web apps that
221221
do not require a backend server at all, we recommend serving the project files using a local
222222
web server during development to avoid issues with security restrictions (sandbox) in browsers. The
223223
sandbox implementation varies between browsers, but quite often prevents things like cookies, XHR,
@@ -248,10 +248,10 @@ This really depends on how complex your app is and the overall infrastructure of
248248
the general rule is that all you need in production are the files under the `app/` directory.
249249
Everything else should be omitted.
250250

251-
Angular apps are really just a bunch of static HTML, CSS and JavaScript files that need to be hosted
251+
AngularJS apps are really just a bunch of static HTML, CSS and JavaScript files that need to be hosted
252252
somewhere they can be accessed by browsers.
253253

254-
If your Angular app is talking to the backend server via XHR or other means, you need to figure out
254+
If your AngularJS app is talking to the backend server via XHR or other means, you need to figure out
255255
what is the best way to host the static files to comply with the same origin policy if applicable.
256256
Usually this is done by hosting the files by the backend server or through reverse-proxying the
257257
backend server(s) and web server(s).

app/index-async.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
</style>
1212
<script src="lib/html5-boilerplate/dist/js/vendor/modernizr-2.8.3.min.js"></script>
1313
<script>
14-
// include angular loader, which allows the files to load in any order
14+
// include AngularJS loader, which allows the files to load in any order
1515
//@@NG_LOADER_START@@
16-
// You need to run `npm run update-index-async` to inject the angular async code here
16+
// You need to run `npm run update-index-async` to inject the AngularJS async code here
1717
//@@NG_LOADER_END@@
1818

1919
// include a third-party async loader library
@@ -37,7 +37,7 @@
3737
'core/version/version-directive.js',
3838
'core/version/interpolate-filter.js'
3939
], function() {
40-
// when all is done, execute bootstrap angular application
40+
// when all is done, execute bootstrap AngularJS application
4141
angular.bootstrap(document, ['myApp']);
4242
});
4343
</script>
@@ -52,7 +52,7 @@
5252

5353
<div ng-view></div>
5454

55-
<div>Angular seed app: v<span app-version></span></div>
55+
<div>AngularJS seed app: v<span app-version></span></div>
5656

5757
</body>
5858
</html>

app/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<div ng-view></div>
2828

29-
<div>Angular seed app: v<span app-version></span></div>
29+
<div>AngularJS seed app: v<span app-version></span></div>
3030

3131
<!-- In production use:
3232
<script src="//ajax.googleapis.com/ajax/libs/angularjs/x.x.x/angular.min.js"></script>

0 commit comments

Comments
 (0)