Open
Description
That is weird I have installed it that way:
package.json
"ngprogress": "VictorBjelkholm/ngProgress#v1.1.3",
then include resources:
"node_modules/ngprogress/build/ngProgress.min.js",
"node_modules/ngprogress/ngProgress.css",
app.js
angular.module('swif.framework', [...
'ngProgress',
]);
the controller is on the screen shot
Was working on 1.0.7, do not work on 1.1.3 (also tried on 1.1.1)
Any idea ? I think this has to be with the way you handle injection.
You should name the function and then add $inject property on it.
function ngProgressFactory(x,y,z) {}
ngProgressFactory.$inject('x','y','z');
Because you use a factory and return ['x', f(x) {}] I get that array instead of the service.
Activity