Angular Interview questions


Total available count: 96
Subject - JavaScript Frameworks
Subsubject - Angular

What are the router imports?

The Angular Router which represents a particular component view for a given URL is not part of Angular Core. It is available in the library named @angular/router to import required router components. For example, we import them in-app module as below,

import { RouterModule, Routes } from '@angular/router';

 




Next 5 interview question(s)

1
What is the purpose of base href tag?
2
Give an example for attribute directives?
3
How do you create directives using CLI?
4
What are the various kinds of directives?
5
What are dynamic components?