This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>The name is {{customersAttended.name}} </p> | |
<p>The date is {{customersAttended.date | date: 'longDate' }} </p> | |
<p>The cost is {{customersAttended.cost | currency }} </p> | |
<p>The password is {{customersAttended.password | testPipe | uppercase }} </p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>The name is {{customersAttended.name}} </p> | |
<p>The date is {{customersAttended.date | date: 'longDate' }} </p> | |
<p>The cost is {{customersAttended.cost | currency }} </p> | |
<p>The password is {{customersAttended.password | testPipe }} </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Component, | |
OnInit | |
} from '@angular/core'; | |
@Component({ | |
selector: 'app-test-component', | |
templateUrl: './test-component.component.html', | |
styleUrls: ['./test-component.component.css'] | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Pipe, | |
PipeTransform | |
} from '@angular/core'; | |
@Pipe({ | |
name: 'testPipe' | |
}) | |
export class TestPipePipe implements PipeTransform { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>The name is {{customersAttended.name}} </p> | |
<p>The date is {{customersAttended.date | date: 'longDate' }} </p> | |
<p>The cost is {{customersAttended.cost | currency }} </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Component, | |
OnInit | |
} from '@angular/core'; | |
@Component({ | |
selector: 'app-test-component', | |
templateUrl: './test-component.component.html', | |
styleUrls: ['./test-component.component.css'] | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>The name is {{customersAttended.name}} </p> | |
<p>The date is {{customersAttended.date | date: 'longDate' }} </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>The name is {{customersAttended.name}} </p> | |
<p>The date is {{customersAttended.date | date }} </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>The name is {{customersAttended.name}} </p> | |
<p>The date is {{customersAttended.date}} </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Component, | |
OnInit | |
} from '@angular/core'; | |
@Component({ | |
selector: 'app-test-component', | |
templateUrl: './test-component.component.html', | |
styleUrls: ['./test-component.component.css'] | |
}) |