I would like to create an alert that does not use ng-repeat. I've created a simple function that will fill in the parameters for type and message. I am able to successfully add the message but not able to get the type to change. Can someone explain what I would need to get the type to change from the default to they type I would like?
http://plnkr.co/edit/DfuD8A?p=preview
I am pretty new to javascript and Angular so any help you can give me is very much appreciated.