>

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

Built-in Directives — Controlling the DOM Without Touching It

Question 1 / 1

0:00
Core
Medium

A <app-payment-form> component makes an HTTP request in ngOnInit. You want to hide it from the user until they click 'Proceed to Checkout', but you notice the HTTP request fires immediately on page load regardless. Which template implementation is causing this?