ANGULAR 4 INTERVIEW QUESTIONS
WHAT’S NEW IN ANGULAR 4?
Writing code is lots of cleaner and lesser.
It Improve the execution performance for Data binding and so on.
It has included Animations features.
In Angular 4, no need to apply observable methods because Angular analyses every page’s DOM and it is automatically modifies to page’s DOM.
It is also supported by Visual Studio, IntelliJ, And NET IDES and so on.
Migration is really very soft and cleaner.
WHAT IS THE FORROOT METHOD IN ANGULAR 4?
The forRoot is a static method and it’s very easy for developers to configure the modules and the best example is – RouterModule.forRoot.
The RouterModule also offers a forChild. It’s also a static method and use to configure the routes of lazy-loaded modules. The forRoot and forChild are the traditional names for methods that configure services in root.
Comments
Post a Comment