cgross / angular-notify

Minimalistic and extensible notification service for Angular.

Home Page:http://cgross.github.io/angular-notify/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You should use $provider instead of factory to allow default configuration before instantiation.

rocketegg opened this issue · comments

Hey, cool package.

Using $provider will allow you to configure the service with default config instead of manually invoking it.

If i have time, I can also help you refactor this.

@rocketegg let me know if this PR meets your requirements

Cool thank you!

Fixes #39