Question: Pick the best description for this template syntax code:
- 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.
Answer: The correct answer of the above question is Option B: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.