Skip to content

Commit

Permalink
angular-sanitize is required
Browse files Browse the repository at this point in the history
  • Loading branch information
ismarslomic committed Feb 12, 2016
1 parent 8a1de89 commit dd8f8ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
$ bower install angular-read-more --save-dev
```

Note that [angular-sanitize](https://docs.angularjs.org/api/ngSanitize/service/$sanitize) is required since this directive is allowing HTML tags to be used in text.

## Run example locally
```bash
$ git clone
Expand All @@ -32,6 +34,7 @@ $ gulp karma
## How to use in HTML
Include JS script
```html
<script src="//cdnjs.cloudflare.com/ajax/libs/angular-sanitize/1.5.0/angular-sanitize.min.js"></script>
<script src="/bower_components/angular-read-more/readmore.min.js"></script>
```

Expand Down

0 comments on commit dd8f8ea

Please sign in to comment.