33This project is an application skeleton for a typical [ AngularJS] [ angularjs ] web app. You can use it
44to 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
77framework and a bunch of development and testing tools for instant web development gratification.
88
99The 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
4343us 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
5151can simply do:
5252
5353```
@@ -58,9 +58,9 @@ Behind the scenes this will also call `npm run copy-libs`, which copies the Angu
5858frontend 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
6464by a web server.*
6565
6666### Run the Application
@@ -145,7 +145,7 @@ npm run test-single-run
145145
146146The ` angular-seed ` app comes with end-to-end tests, again written in [ Jasmine] [ jasmine ] . These tests
147147are 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
187187If 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
193193bower) you can use these tools to easily update the dependencies. Simply run the preconfigured
194194script:
195195
@@ -201,24 +201,24 @@ This will call `npm update` and `npm run copy-libs`, which in turn will find and
201201versions that match the version ranges specified in the ` package.json ` file.
202202
203203
204- ## Loading Angular Asynchronously
204+ ## Loading AngularJS Asynchronously
205205
206206The ` angular-seed ` project supports loading the framework and application scripts asynchronously.
207207The 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
209209do this:
210210
211211```
212212npm run update-index-async
213213```
214214
215215This 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
222222do not require a backend server at all, we recommend serving the project files using a local
223223web server during development to avoid issues with security restrictions (sandbox) in browsers. The
224224sandbox 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
249249the general rule is that all you need in production are the files under the ` app/ ` directory.
250250Everything 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
253253somewhere 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
256256what is the best way to host the static files to comply with the same origin policy if applicable.
257257Usually this is done by hosting the files by the backend server or through reverse-proxying the
258258backend server(s) and web server(s).
0 commit comments