@@ -42,27 +42,26 @@ The `depth=1` tells git to only pull down one commit worth of historical data.
4242We have two kinds of dependencies in this project: tools and Angular framework code. The tools help
4343us manage and test the application.
4444
45- * We get the tools we depend upon via ` npm ` , the [ Node package manager] [ npm ] .
46- * We get the Angular code via ` bower ` , a [ client-side code package manager] [ bower ] .
45+ * We get the tools we depend upon and the Angular code via ` npm ` , the [ Node package manager] [ npm ] .
4746* In order to run the end-to-end tests, you will also need to have the
4847 [ Java Development Kit (JDK)] [ jdk ] installed on your machine. Check out the section on
4948 [ end-to-end testing] ( #e2e-testing ) for more info.
5049
51- We have preconfigured ` npm ` to automatically run ` bower ` so we can simply do:
50+ We have preconfigured ` npm ` to automatically copy the downloaded Angular files to ` app/lib ` so we
51+ can simply do:
5252
5353```
5454npm install
5555```
5656
57- Behind the scenes this will also call ` bower install ` . After that, you should find out that you have
58- two new folders in your project.
57+ Behind the scenes this will also call ` npm run copy-libs ` , which copies the AngularJS files and other
58+ front end 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/bower_components ` - contains the Angular framework files
61+ * ` app/lib ` - contains the Angular framework files and other front end dependencies
6262
63- * Note that the ` bower_components ` folder would normally be installed in the root folder but
64- ` angular-seed ` changes this location through the ` .bowerrc ` file. Putting it in the ` app ` folder
65- makes it easier to serve the files by a web server.*
63+ * Note copying the Angular files from ` node_modules ` to ` app/lib ` makes it easier to serve the files
64+ by a web server.*
6665
6766### Run the Application
6867
@@ -190,17 +189,15 @@ If JDK is not already installed, you can download it [here][jdk-download].
190189
191190## Updating Angular
192191
193- Since the Angular framework library code and tools are acquired through package managers (npm and
194- bower) you can use these tools to easily update the dependencies. Simply run the preconfigured
195- script:
192+ Since the AngularJS framework library code and tools are acquired through package managers (e.g.
193+ npm) you can use these tools to easily update the dependencies. Simply run the preconfigured script:
196194
197195```
198196npm run update-deps
199197```
200198
201- This will call ` npm update ` and ` bower update ` , which in turn will find and install the latest
202- versions that match the version ranges specified in the ` package.json ` and ` bower.json ` files
203- respectively.
199+ This will call ` npm update ` and ` npm run copy-libs ` , which in turn will find and install the latest
200+ versions that match the version ranges specified in the ` package.json ` file.
204201
205202
206203## Loading Angular Asynchronously
@@ -236,7 +233,7 @@ choose to install the tool globally:
236233sudo npm install -g http-server
237234```
238235
239- Then you can start your own development web server to serve static files from a folder by running:
236+ Then you can start your own development web server to serve static files from any folder by running:
240237
241238```
242239http-server -a localhost -p 8000
@@ -279,7 +276,6 @@ For more information on AngularJS please check out [angularjs.org][angularjs].
279276
280277
281278[ angularjs ] : https://angularjs.org/
282- [ bower ] : http://bower.io/
283279[ git ] : https://git-scm.com/
284280[ http-server ] : https://github.com/indexzero/http-server
285281[ jasmine ] : https://jasmine.github.io/
0 commit comments