File tree 5 files changed +5
-6
lines changed
5 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ module.exports = function (grunt) {
16
16
ngtemplates : 'grunt-angular-templates' ,
17
17
cdnify : 'grunt-google-cdn' ,
18
18
protractor : 'grunt-protractor-runner' ,
19
- injector : 'grunt-asset-injector' ,
20
19
buildcontrol : 'grunt-build-control' ,
21
20
istanbul_check_coverage : 'grunt-mocha-istanbul'
22
21
} ) ;
Original file line number Diff line number Diff line change 4
4
"dependencies" : {
5
5
"angular" : " >=1.2.*" ,
6
6
"json3" : " ~3.3.1" ,
7
- "es5-shim" : " ~3.0.1" ,
8
- "jquery" : " ~1.11.0" ,<% if (filters.bootstrap) { %><% if (filters.sass) { %>
7
+ "es5-shim" : " ~3.0.1" ,<% if(filters.bootstrap) { %><% if (filters.sass) { %>
9
8
"bootstrap-sass-official" : " ~3.1.1" ,<% } %>
10
9
"bootstrap" : " ~3.1.1" ,<% } %>
11
10
"angular-resource" : " >=1.2.*" ,
Original file line number Diff line number Diff line change 60
60
"grunt-angular-templates" : " ^0.5.4" ,
61
61
"grunt-dom-munger" : " ^3.4.0" ,
62
62
"grunt-protractor-runner" : " ^1.1.0" ,
63
- "grunt-asset- injector" : " ^0.1.0 " ,
63
+ "grunt-injector" : " ~0.5.4 " ,
64
64
"grunt-karma" : " ~0.8.2" ,
65
65
"grunt-build-control" : " DaftMonk/grunt-build-control" ,<% if (filters.sass) { %>
66
66
"grunt-contrib-sass" : " ^0.7.3" ,<% } %><% if (filters.stylus) { %>
Original file line number Diff line number Diff line change 5
5
'use strict' ;
6
6
7
7
var errors = require ( './components/errors' ) ;
8
+ var path = require ( 'path' ) ;
8
9
9
10
module . exports = function ( app ) {
10
11
@@ -21,6 +22,6 @@ module.exports = function(app) {
21
22
// All other routes should redirect to the index.html
22
23
app . route ( '/*' )
23
24
. get ( function ( req , res ) {
24
- res . sendfile ( app . get ( 'appPath' ) + '/index.html' ) ;
25
+ res . sendFile ( path . resolve ( app . get ( 'appPath' ) + '/index.html' ) ) ;
25
26
} ) ;
26
27
} ;
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ Produces:
198
198
client/app/myService/myService.service.spec.js
199
199
200
200
201
- You can also do ` yo angular:factory ` and ` yo angular:provider ` for other types of services.
201
+ You can also do ` yo angular-fullstack :factory ` and ` yo angular-fullstack :provider ` for other types of services.
202
202
203
203
### Decorator
204
204
Generates an AngularJS service decorator.
You can’t perform that action at this time.
0 commit comments