You can put it in a config of your angular app and change stuff (among them icons) like this:
.config("$provide",function($provide) {
// this demonstrates how to register a new tool and add it to the default toolbar
$provide.decorator('taOptions',
[
'$delegate', function(taOptions) {
// $delegate is the taOptions we are decorating
// here we override the default toolbars and classes specified in taOptions.
taOptions.forceTextAngularSanitize =
true; // set false to allow the textAngular-sanitize provider to be replaced
taOptions.keyMappings =
[]; // allow customizable keyMappings for specialized key boards or languages
taOptions.toolbar = [
['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'pre', 'quote'],
['bold', 'italics', 'underline', 'ul', 'ol', 'redo', 'undo', 'clear'],
['justifyLeft', 'justifyCenter', 'justifyRight', 'justifyFull'],
['html', 'insertImage', 'insertLink']
];
taOptions.classes = {
focussed: 'focussed',
toolbar: 'md-toolbar',
toolbarGroup: 'span',
toolbarButton: 'md-button md-raised hh-small-button',
toolbarButtonActive: 'active',
disabled: 'disabled',
textEditor: 'form-control',
htmlEditor: 'form-control'
};
return taOptions; // whatever you return will be the taOptions
}
]);
// this demonstrates changing the classes of the icons for the tools for font-awesome v3.x
$provide.decorator('taTools',
[
'$delegate', function(taTools) {
taTools.bold.iconclass = 'material-icons';
taTools.italics.iconclass = 'icon-italic';
taTools.underline.iconclass = 'icon-underline';
taTools.ul.iconclass = 'icon-list-ul';
taTools.ol.iconclass = 'icon-list-ol';
taTools.undo.iconclass = 'icon-undo';
taTools.redo.iconclass = 'icon-repeat';
taTools.justifyLeft.iconclass = 'icon-align-left';
taTools.justifyRight.iconclass = 'icon-align-right';
taTools.justifyCenter.iconclass = 'icon-align-center';
taTools.clear.iconclass = 'icon-ban-circle';
taTools.insertLink.iconclass = 'icon-link';
taTools.insertImage.iconclass = 'icon-picture';
// there is no quote icon in old font-awesome so we change to text as follows
delete taTools.quote.iconclass;
taTools.quote.buttontext = 'quote';
return taTools;
}
]);
}