Posted On: Feb 22, 2018
ngRoute module is used when you want to navigate through different pages of your application but you also want your application to be a single page application. This ngRoute module navigates through different pages of your application without reloading the entire application. The angular js route module should be included to make your application ready for routing. The ngRoute is added as a dependency in the application. The routing engine captures the specific URL requested by the user and renders the view based on the defined routing rules.
Never Miss an Articles from us.
A decorator is the core concept when developing an angular framework with version 2 and above. It may become a core lang..
Components are just simple classes which are declared as components with the help of component decorators. It becomes e..
Here are the elements which are present in the component directory structure anf modules:-module.ts- in this, the angu..