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

Nothing apears when I use Notify() and I receive no errors

chevalierc opened this issue · comments

I have the css and js files included, I added the cgNotify to my app dependecies, As well as injected it into the controller Im using. ??

Same problem with me , i think its due to angular version .

Same problem here!!!

@direwolf424 My comment was a while ago, but thinking back to what I was working on, it looks like I was using 1.5.7 at the time

also the last commit on this project was 2 years ago..

$http.get returns a different format now, which breaks angular-notify. As @chevalierc already noted, this project seems abandoned but to get your project working again until someone can take over, please try:

  • replace .success with .then in line 39 (and correspondingly further down the .error with a comma for the .then)
  • replace in line 41: $compile(template) with $compile(template.data)

This got it working for me again,