Skip to content

Minification issue: Unknown provider #124

@amergin

Description

@amergin

I'm seeing the following error when trying to minify the angular-growl.js:
[$injector:unpr] Unknown provider: translateFilterProvider <- translateFilter <- growl <- NotifyService.

Best to my knowledge, this is somehow caused by the line https://github.com/JanStevens/angular-growl-2/blob/master/build/angular-growl.js#L201.

I'm using ng-annotate followed by uglify in a Grunt build setup. The code works okay if it's not being minified.

Has anyone stumbled on this? What could be the cause?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions