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

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -