ui bootstrap Alert uses transclusion so just provide it within the directive element. i.e
<alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">
<span class="glyphicon glyphicon-exclamation-sign"></span>
<!--<span ng-class="alert.img"></span> -->
{{alert.msg}}
</alert>
Plnkr
or if you want to avoid repeating this and need this across your application you can as well override the template in the run block in your module and update it to match your needs, i.e do:
app.run(['$templateCache',function($templateCache){
$templateCache.put("template/alert/alert.html",
"<div class=\"alert\" ng-class=\"['alert-' + (type || 'warning'), closeable ? 'alert-dismissable' : null]\" role=\"alert\">\n" +
" <button ng-show=\"closeable\" type=\"button\" class=\"close\" ng-click=\"close()\">\n" +
" <span aria-hidden=\"true\">×</span>\n" +
" <span class=\"sr-only\">Close</span>\n" +
" </button>\n" +
" <div><span class='glyphicon glyphicon-exclamation-sign'></span> <span ng-transclude></span></div>\n" +
"</div>");
}]);
Plnkr