Interview Questions

1. What do you understand about the router imports?

The Angular Router, representing a particular component view for a given URL, is not part of Angular Core. It is available in a library named @angular/router, and we have to import the required router components. This process is called router imports.

See the following example of how we can import them into the app module:

import { RouterModule, Routes } from '@angular/router';  

By Md Riyazuddin 2 0
Is this helpful? Yes No

Submit an interview question

Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.

Get Started

Comments

Leave a Comment


Check out more interview questions

Based on your skills

MS SQL Server

97985 1720 4 860

Angular

2793 92 0 46

Wordpress

2158 72 0 36
AD Ad-Free