title: <template> syntax for ngclass or [class.classname]
body: <p>I have seen the syntax for ngfor, ngIf and ngSwitch with template, can anyone help me with, if I want to use ngclass or [class.classname] with template syntax in angular 2.</p>
  
  <p>How i can use the class with template syntax in angular 2</p>