javascript - <br> between angular expression -
i have expression below:
<td>{{student.name}}<br>{{student.age}}<br>{{student.fathername}}</td> while displaying shows like:
shane<br>26<br>greg is possible can break below in single row itself:
shane 26 greg
use ng-bind-html string concatenation rendering it.
ng-bind-html="student.name+ '<br>'+ student.age + '<br>' + student.fathername"
Comments
Post a Comment