;(function(angular) {

    'use strict';

    angular.module('k15t.auiNg')
        .directive('anMessage', function() {

            // jscs:disable
            var defaultTemplate = [
                '<div ng-style="message.styleContainer" class="aui-message aui-message-{{ message.severity }} {{ message.severity }}">',
                '   <p ng-if="message.title" class="title">',
                '       <span class="aui-icon icon-{{ message.severity }}"></span>',
                '       <strong ng-bind="message.title"></strong>',
                '   </p>',
                '   <div ng-style="message.styleMessageWrapper">',
                '       <p ng-if="message.message" ng-bind-html="message.message"></p>',
                '       <pre ng-if="message.details" ng-style="message.styleDetails" ng-bind-html="message.details"></pre>',
                '   </div>',
                '</div>'
            ].join('\n');
            // jscs:enable

            return {
                restrict: 'A',
                scope: {
                    message: '=anMessage'
                },
                template: defaultTemplate
            };
        }
    );

})(angular);

@@ -381,93 +381,8 @@
 %3E',%0A
-                '       %3Cspan class=%22aui-icon icon-%7B%7B message.severity %7D%7D%22%3E%3C/span%3E',%0A
     

update AUI message styling to work with AUI 8