package.json { “name”: “client”, “version”: “0.0.0”, “scripts”: { “ng”: “ng”, “start”: “ng serve –port 4401 -o”, “build”: “ng build”, “test”: “ng test”, “lint”: “ng lint”,
Category: Angular
Angular is a JavaScript framework .
Interview Javascript QA
1. Javascript Hoisting ? Hoisting is JavaScript’s default behavior of moving declarations to the top of their containing scope. e.g., var x, y, z; //
Angular Popular Refrences
1. angular 2. creating-a-custom-directive 3. angular-2-custom-event-binding-eventemitter-exampleeventemitter-example 4. using-renderer2-angular 5. reactgo.com 6. angular-2-search-and-sort-with-ngfor-repeater-with-example 7. angular-material-icon-tutorial-with-example 8. angular-nested-routing-with-multiple-routeroutlet-using-loadchildren-having-own-router-modules-example-application 9. coryrylan.com 10. angular-7-reactive-forms-validation-example 11. www.geeksforgeeks.org 12. Tutorialsteacher 13.
Interview Questions Js, Angular, Nodejs
Angular 6 vs Angular 5 vs Angular 4 – What’s New in Angular 6? 69 Best Angular 2 Interview Questions and Answers Angular 8 Interview
Subscribe to angular read route parameter changes
how to subscribe to angular route parameter changes : and then execute some code in response to those changes. We can either use the snapshot
Angular read route parameters
Reading route parameter values To read the route parameter value use Angular ActivatedRoute service. There are 2 ways to read the route parameter value. We
Angular route params
Activating the route with parameters 1. One way to activate the route is by using the routerLink directive. <a [routerLink]=”[’employees’,2]”> Get Employee with Id 2
Angular route guards
There are 3 steps to use a routing guard in Angular. Build the route guard Register the guard with angular dependency injection system Tie the
SelectListCustomValidator Directive
Select List Custom Validator Directive Configurable Select List Custom Validator Directive Cross Field Validation – Compare Validation Directive Trigger Validation Manually Angular form group validation
Angular Input Output Parameters
Parent Child Component Call child component methods and properties using template reference variable Summary : There are 2 ways to pass data from Child Component