numeric regex, alpha numeric regex regex, email regex, phone regex, name regex, percentage regex, date regex, pan regex, ifsc regex, pincode regex, city name regex, gst regex no etc regex. Find source code on git hub https://github.com/pratik-maurya/angular-pipes
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 Component.ts Find source code on github https://github.com/pratik-maurya/Directives/tree/master
To do application in angular.
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 g s crud3) ng g class task Step 4 copy and paste the code as given above folder structure start the json server json-server -watch db.jsonit will run on port 3000 and create and db.json file. Step 5 run both the json server and our angular to do application on browser. dashboard.component.html dashboard.component.ts crud.service.ts Find source code on git hub https://github.com/pratik-maurya/To-do-application