alexcrack / angular-ui-notification

Angular.js service providing simple notifications using Bootstrap 3 styles with css transitions for animating
MIT License
536 stars 169 forks source link

Angular 1.6 - Possibly unhandled rejection: {} #107

Closed celsomtrindade closed 7 years ago

celsomtrindade commented 7 years ago

When migrating to AngularJs 1.6 this error appears:

Possibly unhandled rejection: {}

Using the same files but with Angular 1.5.8/.9 works fine, just when migrating to 1.6 this error appears. Any ideas?

lakylekidd commented 7 years ago

Same issue here. Do you guys have any solution for this?

prondzyn commented 7 years ago

Issue cased because success function was removed from Angular 1.6. Related to #106. PR #102 for this is hanging out :(

celsomtrindade commented 7 years ago

Eventought the succes -> then can solve the main problem, from time to time I still get this error, but I don't know it may be causing it.

prondzyn commented 7 years ago

You can follow this instruction:

https://coderwall.com/p/q_gh-w/fork-and-patch-npm-moduels-hosted-on-github

and use tag from my repo:

https://github.com/prondzyn/angular-ui-notification/tree/for_ng_1.6

Tested.

agustinramos commented 7 years ago

@prondzyn nice!

alexcrack commented 7 years ago

Fixed