Click in order · Angular course · Module 2: Components

Opening the @if Block

Arrange the tokens to open a conditional block: @if (isLoggedIn) {

Items to click

  • @if
  • isLoggedIn
  • )
  • (
  • {
Show the answer

Correct order:

  1. @if
  2. (
  3. isLoggedIn
  4. )
  5. {