Top "Angular-pipe" questions

Use for discussion of Angular 2+ pipes

Format date as dd/MM/yyyy using pipes

I'm using the date pipe to format my date, but I just can't get the exact format I want without …

date angular angular-pipe date-pipe
OrderBy pipe issue

I'm not able to translate this code from Angualr 1 to Angular 2: ng-repeat="todo in todos | orderBy: 'completed'" This is what …

angular angular2-template angular-pipe
What is pipe() function in Angular

Pipes are filters for transforming data (formats) in the template. I came across the pipe() function as below. What does …

angular rxjs angular-pipe rxjs-pipe
Angular 4 Pipe Filter

I am trying to use a custom pipe to filter my *ngFor loop using an input field with ngModel. With …

angular angular-pipe
Is it possible to use a pipe in the code?

When I use my custom pipe in a template, it is like this: {{user|userName}} And it works well. Is …

angular angular-pipe
How to use pipes in Angular 5 reactive form input

I am trying to figure out how to use a pipe within a reactive form so that the input is …

angular angular-reactive-forms angular-pipe
NgFor doesn't update data with Pipe in Angular2

In this scenario, I'm displaying a list of students (array) to the view with ngFor: <li *ngFor="#student of …

angular angular2-template angular2-directives angular-pipe
Convert timestamp to date using Angular 2 pipes

I'm trying to convert a timestamp to a date format using Angular pipes. I wrote this in the HTML template: {{…

angular typescript angular-pipe
angular keyvalue pipe sort properties / iterate in order

When using the Angular keyvalue pipe to iterate over an object's properties as follows: <div *ngFor="let item of …

angular angular-pipe
What is an impure pipe in Angular?

@Pipe({name:'myPipe', pure: false}) I am unable to understand impure pipes. What's the difference between pure and impure pipes? …

angular angular-pipe angular2-pipe