Multiple text fields in one UI Template


The following ui template displays a name and a picture. But how do i add more text fields eg msg.text msg.time ?

<div ng-bind-html="msg.topic">   </div>
<img ng-src={{msg.image}} height="50" width="50" />

There is no need to use the ng-bind-html for msg.topic since that will only ever be text and not contain html.

The standard way to output is, I think, listed in the help information.


I don't think you need the msg. prefix though I may be wrong. I don't use Dashboard very often.


msg. is required btw

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.