emojify directive.
**See the DEMO page.
Table of Content:
- show/hide emoji panel
- add emoji code to input
- Manual: download latest from here
<script src="../src/emojify/src/emojify.js" type="text/javascript"></script>
<script src="../src/angular.min.js" type="text/javascript"></script>
<script src="../src/ngEmoji.js" type="text/javascript"></script>
<script src="./demoApp.js" type="text/javascript"></script>
<h2>input</h2>
<input name="test" ng-model="test" value=""/>
<h2>emoji panel</h2>
<emoji input-name="test"></emoji>
and in js code:
$scope.$on('emji:addSuccess', function(event, emoji, inputName) {
$scope[inputName] += ' ' + emoji;
});