>

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

How Angular Actually Works — Components, Trees, and Bootstrapping

Question 1 / 1

0:00
Core
Medium

You create NavbarComponent with selector app-navbar. You add <app-navbar></app-navbar> to AppComponent's template and import NavbarComponent at the top of app.component.ts with an ES6 import. When you run the app, Angular throws 'app-navbar' is not a known element. What is the cause?