Pick the best description for this template syntax code:

<span>Boss: {{job?.bossName}} </span>
  •  The ? is shorthand for the async pipe. The job value must be an Observable.
  •  It is using the safe navigation operator (?) on the job field. If the job field is undefined, the access to the bossName will be ignored and no error will occur.
  •  There is an error in the template syntax. The ? is not valid here.
  •  It is diplaying the job value if it has one; otherwise it is displaying the bossName.

Leave a Reply

Your email address will not be published. Required fields are marked *