Angular 1.x filter that converts newlines to `<br>`-tags.
npm install angular-nl2br-filter> Angular 1.x filter that converts newlines to -tags.
NPM:
```
$ npm install --save angular-nl2br-filter
Bower:
``
$ bower install --save angular-nl2br-filter
1. Add nl2br-filter as a dependency to your module: angular.module('app', ['nl2br-filter'])ng-bind-html
2. Use and the nl2br filter to show a string with newlines:
There's also a small demo for this: demo.html.
MIT © Stefan Dietz