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

option 'type' don't work. #64

Closed tomerof closed 8 years ago

tomerof commented 8 years ago

I'm trying to fire notifications with the parameter: type like this: var messages = []; messages.push({type:'error',content:'Error notification'}); messages.push({type:'info',content:'Info notification'}); messages.push({type:'primary',content:'Primary notification'}); messages.push({type:'success',content:'Success notification'});

angular.forEach(messages,function(message,key){ Notification({title:'test',type:message.type,message:message.content}); });

mechdrew commented 8 years ago

I've fixed this in #41.

alexcrack commented 8 years ago

Merged