Angular directive to emojify unicode chars.
bower install angular-emojify --save
Inject module into you app:
angular.module('YourApp', ['emojify']);
Use it at a directive:
<div ng-bind="unicode" emojify></div>
Note: if you're uglifying your files (e.g. grunt-contrib-uglify) take care about unicode characters with the following options
options : {
beautify : {
ascii_only : true
}
}
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
NB: don't forget to run grunt server as grunt dev
(it will update the angular-emojify.js
and angular-emojify.min.js
generated files)