Hello when I run this project in Developer mode (grunt server) https://github.com/kennethlynne/generator-angular-xl everything is ok but when I run it in production mode (gr
Interestingly, mine was because the { was put on a new line, yet i was returning an object so i changed
from
"use strict";
var funcName1 = function(){
/* some code*/
return
{ // note this bracket
funcName2:function(){/* some code*/},
};
}
to
"use strict";
var funcName1 = function(){
/* some code*/
return { // to this, same line
funcName2:function(){/* some code*/},
};
}