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

Commit a41e802

Browse files
docs(*): use the name AngularJS rather than Angular
1 parent 52022ee commit a41e802

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

.jshintrc

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

+15-15
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,9 +187,9 @@ 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

192-
Since the Angular framework library code and tools are acquired through package managers (npm and
192+
Since the AngularJS framework library code and tools are acquired through package managers (npm and
193193
bower) you can use these tools to easily update the dependencies. Simply run the preconfigured
194194
script:
195195

@@ -201,24 +201,24 @@ This will call `npm update` and `npm run copy-libs`, which in turn will find and
201201
versions that match the version ranges specified in the `package.json` file.
202202

203203

204-
## Loading Angular Asynchronously
204+
## Loading AngularJS Asynchronously
205205

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

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

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

218218

219219
## Serving the Application Files
220220

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

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

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

app/index-async.html

+4-4
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
'components/version/version-directive.js',
3838
'components/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

+1-1
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)