angular-notify
angular-notify copied to clipboard
How to config?
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?
You can't inject normal services into a module config method (only providers). You'll need to use a module run method.
Okay, thanks!
Fixed by #39