TOP 11 ANGULAR INTERVIEW QUESTIONS
1.What are directives and different types of directives?
Angular Directives are functions that are executed When they are found on the DOM by the Angular compiler
2. What is SPA and uses of SPA?
SPA load once and new features are just more additions to the user interface.
New HTML pages are not loaded to display the new page’s content,instead generated dynamically.
A SPA approach is faster ,thus providing a seamless user experience
3.What is Routing?
Routing basically means navigating between pages
4.Why do we need lazy loading?
Lazy loading means on demand loading , Loading only the necessary HTML,CSS and JAVASCRIPT files so that you have better performance.
It is used for bigger applications where all the modules are not required at the start of the application
5. Explain Angular life cycle?
6.Difference b/w Constructor vs ngoninit?