angular-notify icon indicating copy to clipboard operation
angular-notify copied to clipboard

How to config?

Open samuelbeek opened this issue 9 years ago • 3 comments

I get an error (Failed to instantiate module app due to: Error: [$injector:unpr] Unknown provider: notify when I do something like this:

app.config( function(notify) {

})

How can I inject the notify service in the config?

samuelbeek avatar Jun 30 '15 12:06 samuelbeek

You can't inject normal services into a module config method (only providers). You'll need to use a module run method.

cgross avatar Jun 30 '15 14:06 cgross

Okay, thanks!

samuelbeek avatar Jul 01 '15 08:07 samuelbeek

Fixed by #39

faceleg avatar Aug 17 '15 05:08 faceleg