Commit 11629463 authored by Madhur's avatar Madhur

ipdated

parent 302e87c0
...@@ -24,15 +24,9 @@ This module contain various filters to encode and decode emojis in the above for ...@@ -24,15 +24,9 @@ This module contain various filters to encode and decode emojis in the above for
##Installation ##Installation
Include the JS files
```html ```html
<script type="text/javascript" src="js/config.js"></script> <script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/emoji.min.js"></script> <script type="text/javascript" src="js/emoji.min.js"></script>
```
Include the CSS file
```html
<link type="text/stylesheet" rel="stylesheet" href="css/emoji.min.css" /> <link type="text/stylesheet" rel="stylesheet" href="css/emoji.min.css" />
``` ```
...@@ -62,7 +56,7 @@ This directive adds a contenteditable div and hides the textarea. Anything typed ...@@ -62,7 +56,7 @@ This directive adds a contenteditable div and hides the textarea. Anything typed
Make sure to initialize `emojiMessage` inside your controller Make sure to initialize `emojiMessage` inside your controller
```js ```js
emojiApp.controller('emojiController', ['$scope', '$log', function($scope, $log) { emojiApp.controller('emojiController', ['$scope', function($scope) {
$scope.emojiMessage={}; $scope.emojiMessage={};
}]); }]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment