JanStevens / angular-growl-2

growl-like notifications for angularJS projects
MIT License
285 stars 97 forks source link

Cannot read property 'success' of undefined #57

Open mnivoliez opened 9 years ago

mnivoliez commented 9 years ago

I use growl somewhere like this:

function showErrorMessage(message) { growl.error('Error:' + message, {ttl: 5000}); }

I inject growl in the good place. But i get this:

TypeError: Cannot read property 'success' of undefined

JanStevens commented 9 years ago

Hello,

Can you create a plunker or codepen with your example code? Alot of things can go wrong.

http://plnkr.co/ http://codepen.io/