Feat: added plunker url; Feat: update example
This commit is contained in:
parent
fd2734d0da
commit
1c295b8bd3
5 changed files with 7 additions and 3 deletions
|
|
@ -1 +1,5 @@
|
|||
<h2>Original html</h2>
|
||||
<p>{{text}}<p>
|
||||
|
||||
<h2>Stripped html</h2>
|
||||
<p>{{text | stripper:'html'}}<p>
|
||||
|
|
|
|||
|
|
@ -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/>`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue