Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngProgressFactory injection failed #123

Closed
pablorsk opened this issue Aug 12, 2016 · 1 comment
Closed

ngProgressFactory injection failed #123

pablorsk opened this issue Aug 12, 2016 · 1 comment

Comments

@pablorsk
Copy link

I'm trying inject ngProgress on my Service. But I receive this error:

function($injector, ngProgress) is not using explicit annotation and cannot be invoked in strict mode

On my code:

    /** @ngInject */
    public constructor(
        protected ngProgressFactory
    ) {
        this.progress = this.ngProgressFactory.createInstance();
        this.progress.setHeight('5px');
        this.progress.setColor('#F44336');
    }

If I try with ngProgress work, but offcource I need ngProgressFactory

@anthwinter
Copy link
Collaborator

This was fixed in v1.1.3 which is now released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants