8000 Added bower config, and also added minimal changes and some fixes to … · HighDeveloper/angularjs-skeleton@30d5a44 · GitHub
[go: up one dir, main page]

Skip to content

Commit 30d5a44

Browse files
committed
Added bower config, and also added minimal changes and some fixes to concat / compile files in config-build.js.
1 parent 436559c commit 30d5a44

File tree

6 files changed

+10
-3
lines changed

6 files changed

+10
-3
lines changed

.bowerrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"directory": "bower_components",
3+
"analytics": false
4+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AngularJS Skeleton
22

3-
This README outlines the details of collaborating on this AngularJS 1.x application.
3+
This README outlines the details of collaborating on this AngularJS 1.x application (like an Ember).
44
A short introduction of this app could easily go here.
55

66
## Default AngularJS modules

app/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
(function () {
22

3+
'use strict';
4+
35
//Main module named 'app' with its module dependencies
46
angular.module('app', ['ui.router', 'restmod', 'satellizer']).config(restmodAdapter).config(satellizerAdapter);
57

app/router.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
(function () {
22

3+
'use strict';
4+
35
//Adding router configuration to main app module to may define all routes
46
angular.module('app').config(routeMapper);
57

app/templates/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
AngularJS Skeleton
2-

config-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = function () {
1818
var directFiles = ['public/**/*', 'app/index.html'];
1919

2020
var appAssets = {
21-
scripts: 'app/**/*.js',
21+
scripts: ['app/app.js', 'app/modules/**/*.js', 'app/**/*.js'],
2222
styles: 'app/styles/**/*.css',
2323
templates: 'app/templates/**/*.html'
2424
};

0 commit comments

Comments
 (0)
0