Top "Angular-pipe" questions

Use for discussion of Angular 2+ pipes

Pipe could not be found: Angular 5 custom pipe

I have read this post and this article. I believe I have done everything suggested: added the pipe to a …

javascript angular iframe angular-pipe
Angular2 use basic pipe in custom pipe

I'd like to add some additional functionality to the basic angular2 pipes. ie. some extra formatting done on the currency …

angular angular-pipe
Angular 6 - Importing shared module for child modules

I'm trying to make a shared module, but it's don't want to work somehow. The shared module looks like this: …

javascript angular angular-pipe
async pipe sends 'null' value to the child component

I want to pass a value to the child component. this value is an Observable, so I use async pipe. &…

angular rxjs observable angular-pipe async-pipe
Angular - The pipe 'keyvalue' could not be found

I'm testing Angular's keyvalue pipe with simple code: import { Component } from '@angular/core'; @Component({ selector: 'app-root', template: `<div *…

angular angular-pipe
Angular 2 - How to use build-in pipe inside custom pipe

I want to make a custom currency pipe using the built-in currency pipe. The way I want to use is {{ …

angular angular-pipe angular2-custom-pipes
Angular2 Pipe can't find the name

I made a Pipe as follow: import {Pipe, PipeTransform} from '@angular/core'; import { Radio } from '../../models/radio'; @Pipe({ …

angular angular-pipe
How to highlight searched text in angular6, using pipe?

I want to build a search box in angular, that would return the array of item,and also highlight the …

angular angular6 angular-pipe
Set input field placeholder from pipe

I would like to dynamically set <input type='text' placeholder=' {{ 'somestring' | getText }}'> placeholders using pipes. (this …

angular angular-pipe
Angular 5 percent pipe digitInfo not working as expected

If I do this in an Angular 5 template: {{0.7 | percent:'1.2-5'}} I get this as expected: 70.00% However, when I …

angular angular-pipe