NPX stand for “Node Package Execute“ . Using “npx” a package can be executable without installing the package. it comes with the npm, when you installed npm above 5.2.0 version…
Tag:
Angular
How to send data from child component to parent Component using Event emitter – Angular
by Amey Raut
The easiest way to pass / send data from child component to parent Component is using @Output decorator and event emitter as below 1. Import Event Emitter and Output decorator…
How To use angular default Pipes for uppercase, lowercase, date formatting, number formatting, and display percentage, currency symbols.
by Amey Raut
There are multiple pipes available in Angular 8 by default. here we will be looking into some of the pipes used for formating string, date, and numbers. LowerCasePipe UpperCasePipe TitlecasePipe…
The easiest way to pass / send data to child component is using decorator as below 1. Add a property to child component tag with the data required to pass…
How to use *ngFor the condition in Angular for select option element. Select the first or last element in For loop -Angular
by Amey Raut
There are three structural directives in angular 1.*ngFor condition is similar to any other for the condition we used in other languages In the below example *ngFor is added to…
There are three structural directives in angular 1. [ngSwtich] condition can be use when you wanted to testfy with mutlple values In the below example [ngSwitch] directive is added to…
There are three structural directives in angular 1. *ngIf (with else) use to hide/show element using like if-else condition as shown below In below example we add else condition in…
Newer Posts