Think I'm missing something simple here but here's my issue:
<h4 ng-bind="example.heading">
<small ng-bind="example.subheading"></small>
</h4>
Doesn't work - if ng-bind
replaces the content inside the tag, then would I have to use the {{}}
syntax instead? Like so,
<h4>{{example.heading}}<small ng-bind="example.subheading"></small></h4>
I like the idea of the brackets not flashing up briefly so I picked ng-bind
. Is there another way around this?