Feat: added plunker url; Feat: update example

This commit is contained in:
Lorenzo Iovino 2019-05-08 11:37:13 +02:00
parent fd2734d0da
commit 1c295b8bd3
5 changed files with 7 additions and 3 deletions

View file

@ -1 +1,5 @@
<h2>Original html</h2>
<p>{{text}}<p>
<h2>Stripped html</h2>
<p>{{text | stripper:'html'}}<p>

View file

@ -6,5 +6,5 @@ import { Component } from '@angular/core';
styleUrls: ['./app.component.css']
})
export class AppComponent {
text = '<h1>CIAOOOO</h1>';
text = `<div class ='exampe'><h1>example text very cool!<h1></div><h2>Wow</h2><br/>`;
}