Angular Interview questions


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

What is the purpose of base href tag?

The routing application should add an element to the index.html as the first child in the tag in order to indicate how to compose navigation URLs. If app folder is the application root then you can set the href value as below,

<base href="/">

 




Next 5 interview question(s)

1
Give an example for attribute directives?
2
How do you create directives using CLI?
3
What are the various kinds of directives?
4
What are dynamic components?
5
How do you define typings for custom elements?