Directives in angular

Steps to create directive Step 1 create an angular application with command ng new directiveApp Step 2 create an directive with command ng generate directive directiveName Step 3 copy and paste the code given in above directive.ts file. directive.ts import { Directive,ElementRef,Input,HostListener } from '@angular/core'; @Directive({ selector: '[appDirectives]' }) export…
| May 14, 2023

To do application in angular.

To do list Steps Step 1 create an angular project without or with routing. Using #command. ng new toDoApp Step 2 install the json server using below command npm install -g json-server Step 3 create dashboard component, crud services and task class using command 1) ng g c dashboard2) ng…
| May 14, 2023