File tree Expand file tree Collapse file tree 5 files changed +5
-6
lines changed Expand file tree Collapse file tree 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) {
1616 ngtemplates : 'grunt-angular-templates' ,
1717 cdnify : 'grunt-google-cdn' ,
1818 protractor : 'grunt-protractor-runner' ,
19- injector : 'grunt-asset-injector' ,
2019 buildcontrol : 'grunt-build-control' ,
2120 istanbul_check_coverage : 'grunt-mocha-istanbul'
2221 } ) ;
Original file line number Diff line number Diff line change 44 "dependencies" : {
55 "angular" : " >=1.2.*" ,
66 "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) { %>
98 "bootstrap-sass-official" : " ~3.1.1" ,<% } %>
109 "bootstrap" : " ~3.1.1" ,<% } %>
1110 "angular-resource" : " >=1.2.*" ,
Original file line number Diff line number Diff line change 6060 "grunt-angular-templates" : " ^0.5.4" ,
6161 "grunt-dom-munger" : " ^3.4.0" ,
6262 "grunt-protractor-runner" : " ^1.1.0" ,
63- "grunt-asset- injector" : " ^0.1.0 " ,
63+ "grunt-injector" : " ~0.5.4 " ,
6464 "grunt-karma" : " ~0.8.2" ,
6565 "grunt-build-control" : " DaftMonk/grunt-build-control" ,<% if (filters.sass) { %>
6666 "grunt-contrib-sass" : " ^0.7.3" ,<% } %><% if (filters.stylus) { %>
Original file line number Diff line number Diff line change 55'use strict' ;
66
77var errors = require ( './components/errors' ) ;
8+ var path = require ( 'path' ) ;
89
910module . exports = function ( app ) {
1011
@@ -21,6 +22,6 @@ module.exports = function(app) {
2122 // All other routes should redirect to the index.html
2223 app . route ( '/*' )
2324 . get ( function ( req , res ) {
24- res . sendfile ( app . get ( 'appPath' ) + '/index.html' ) ;
25+ res . sendFile ( path . resolve ( app . get ( 'appPath' ) + '/index.html' ) ) ;
2526 } ) ;
2627} ;
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ Produces:
198198 client/app/myService/myService.service.spec.js
199199
200200
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.
202202
203203### Decorator
204204Generates an AngularJS service decorator.
You can’t perform that action at this time.
0 commit comments