>

CODEMASTERYLAB

IDE PLATFORM
CoursesCommunity BlogsKnowledge GraphQuizzesInterview Prep

Sign in to track progress & earn XP

Sign In Create Account
>
Code Mastery Lab

Code Mastery Lab

Sign In

NgModule — The Dependency Registry You Can't Ignore

Question 1 / 1

0:00
Core
Medium

You create a SharedModule that declares and exports a SpinnerComponent. Your DashboardModule imports SharedModule. You use <app-spinner> inside DashboardModule templates and it works correctly. Later you create a ReportsModule that also imports SharedModule, but Angular throws 'app-spinner' is not a known element. What is the most likely cause?