File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "directory": "app/bower_components"
3
+ }
Original file line number Diff line number Diff line change @@ -49,7 +49,11 @@ Behind the scenes this will also call `bower install`. You should find that you
49
49
folders in your project.
50
50
51
51
* ` node_modules ` - contains the npm packages for the tools we need
52
- * ` bower_components ` - contains the angular framework files
52
+ * ` app/bower_components ` - contains the angular framework files
53
+
54
+ * Note that the ` bower_components ` folder would normally be installed in the root folder but
55
+ angular-seed changes this location through the ` .bowerrc ` file. Putting it in the app folder makes
56
+ it easier to serve the files by a webserver.*
53
57
54
58
### Run the Application
55
59
Original file line number Diff line number Diff line change 31
31
<!-- In production use:
32
32
<script src="//ajax.googleapis.com/ajax/libs/angularjs/x.x.x/angular.min.js"></script>
33
33
-->
34
- < script src ="../ bower_components/angular/angular.js "> </ script >
35
- < script src ="../ bower_components/angular-route/angular-route.js "> </ script >
34
+ < script src ="bower_components/angular/angular.js "> </ script >
35
+ < script src ="bower_components/angular-route/angular-route.js "> </ script >
36
36
< script src ="js/app.js "> </ script >
37
37
< script src ="js/services.js "> </ script >
38
38
< script src ="js/controllers.js "> </ script >
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ module.exports = function(config){
4
4
basePath : '../' ,
5
5
6
6
files : [
7
- 'bower_components/angular/angular.js' ,
8
- 'bower_components/angular-route/angular-route.js' ,
9
- 'bower_components/angular-mocks/angular-mocks.js' ,
7
+ 'app/ bower_components/angular/angular.js' ,
8
+ 'app/ bower_components/angular-route/angular-route.js' ,
9
+ 'app/ bower_components/angular-mocks/angular-mocks.js' ,
10
10
'app/js/**/*.js' ,
11
11
'test/unit/**/*.js'
12
12
] ,
You can’t perform that action at this time.
0 commit comments