Example HTML output using the built-in growl-notifications
directive:
<div growl-notifications></div>
Example HTML output using your own custom markup in your view template:
<ul class="list-unstyled"> <li ng-repeat="(id, notification) in growlNotifications.notifications"> <div class="alert alert-{{notification.type}}"> <div ng-bind-html="notification.message"></div> </div> </li> </ul>
Inspection of growlNotifications.notifications:
{{growlNotifications.notifications | json}}