1.

What do you mean by routing in angular js?

Answer»

If the developer wants to go through different pages in a single page application and also with no reloading of the page then the ngRoute MODULE is used. It routes the application to different pages with the reloading of the COMPLETE application.

Also Read: Angular Questions and Answers 27. What is the difference between directive and component?
S.noDirectiveComponent
1.It is a behavior that has been added to the existing components.Components have their own view i.e., HTML and styles.
2.There can be multiple DIRECTIVES in ONE element.There can be only one component in one element.

Note: These are Full Stack developer interview questions. Candidates who are deciding to switch to Full Stack or looking for a job must read this.



Discussion

No Comment Found