I'm getting this error on 1.5.5 of angular, I have added a comment to an
existing issue (https://github.com/angular/angular.js/issues/12424) but I
was wondering in the meantime what the best way forward would be
I have this code which is causing the problem
resolve: {
'options': ($stateParams) => {
return {
modelName: 'foo'
};
}
}
I know that I can convert it back to a normal function
resolve: {
'options': function ($stateParams) {
return {
modelName: 'foo'
};
}
}
but I was wondering if there were a "better / more ES6-y" way ? How would
minification / injection problems be resolved ?
thanks
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.