Top "Angular2-pipe" questions

An Angular 2 pipe takes in data as input and transforms it to a desired output.

Dynamically change locale for DatePipe in Angular 2

I'm making an Angular project where the user has the ability to switch languages. Is it possible to make the …

angular locale angular2-pipe
How to set locale for numbers in angular 2.0

The number format in Swiss German is like "100'000.00" (not "100,000.00"). How can I change that? I tried to change the …

angular numbers locale angular2-pipe
How to tell angular (2) currency pipe to display as it is if value is a string not int or float

The currency pipe should be smart enough to handle string, float, int, etc automatically. if passed value is string or …

angular angular2-pipe
Angular 2 - Pipe reuse in multiple modules - error not found or duplicate definition

Im working on angular 2 final release. I have declared two modules: main app and one for the settings page. The …

angular angular2-pipe
Dynamic pipe in Angular 2

I'm trying to create a component where you can pass which pipe that should be used for a list inside …

angular angular2-pipe
Angular 2: Using pipes with ngModel

I was using JQuery inputmask in one of my forms along with [(ngModel)], but for some reason they won't work …

angular angular2-pipe angular2-ngmodel
Cannot Instantiate DatePipe

I am trying to instantiate a DatePipe object in my Angular2 app to use transform(...) function in a component I'm …

angular angular2-pipe
How to re-trigger all pure pipes on all component tree in Angular 2

I have pure pipe TranslatePipe that translates phrases using LocaleService that has locale$: Observable<string> current locale. I …

angular angular2-changedetection angular2-pipe
Using number pipe throws InvalidPipeArgumentException (Invalid argument '1' for pipe 'DecimalPipe')

I want to write some number into <input> and dynamically display it as a decimal inside {{}} through pipe. …

typescript angular angular2-template angular2-pipe
Angular 2 - Import pipe locally

THE SITUATION: I need to use a pipe in only one component. For this reason i didn't wanted to import …

angular angular2-pipe