truncate for strings angular5
npm install ngx-truncate



``sh`
npm install ngxtruncate --save
`javascript
import { NgXtruncateModule } from 'ngxtruncate';
@NgModule({
imports: [
NgXtruncateModule
],
})
`
`html`
// app.html
{{ 'a simple test variable' | ngXtruncate}}
{{ 'a simple test variable' | ngXtruncate:8}}
{{ 'a simple test variable' | ngXtruncate:8:'.'}}
> This pipe removes all html tags, using the regex /<[^>]+>/gm
`sh`
npm run build
`sh``
npm publish
> All versions below 1.0.0 are beta