I'm trying to show a checkmark if an answer is the accepted answer: template: `<div ngIf="answer.accepted">✔</div>` But I get this error: EXCEPTION: No provider for TemplateRef! (NgIf ->TemplateRef) What am I doing wrong? Continue reading...