@@ -42,27 +42,27 @@ 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 runs a simple JS script that copies
58+ the Angular files and other fronted dependencies. After that, you should find out that you have two
59+ new directories in your project.
5960
6061* ` node_modules ` - contains the npm packages for the tools we need
61- * ` app/bower_components ` - contains the Angular framework files
62+ * ` app/lib ` - contains the Angular framework files and other frontend dependencies
6263
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.*
64+ * Note copying the Angular files from ` node_modules ` to ` app/lib ` makes it easier to serve the files
65+ by a web server.*
6666
6767### Run the Application
6868
@@ -198,9 +198,8 @@ script:
198198npm run update-deps
199199```
200200
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.
201+ This will call ` npm update ` and ` npm run copy-libs ` , which in turn will find and install the latest
202+ versions that match the version ranges specified in the ` package.json ` file.
204203
205204
206205## Loading Angular Asynchronously
@@ -236,7 +235,7 @@ choose to install the tool globally:
236235sudo npm install -g http-server
237236```
238237
239- Then you can start your own development web server to serve static files from a folder by running:
238+ Then you can start your own development web server to serve static files from any folder by running:
240239
241240```
242241http-server -a localhost -p 8000
@@ -279,7 +278,6 @@ For more information on AngularJS please check out [angularjs.org][angularjs].
279278
280279
281280[ angularjs ] : https://angularjs.org/
282- [ bower ] : http://bower.io/
283281[ git ] : https://git-scm.com/
284282[ http-server ] : https://github.com/indexzero/http-server
285283[ jasmine ] : https://jasmine.github.io/
0 commit comments