I have json that looks like this (I can't change that):
Desc: First data - Second data
And I am displaying it with:
<div ng-repeat="b in a.Items">{{b.Desc}}</div>
But I need to display 'Second data' under 'First data' and without '-'
So now it is displayed like:
<div>First data - Second data</div>
And I need it like
<div><p>First data</p><p>Second data</p></div>
or
<div>First data<br/>Second data</div>
How can I break it and delete '-'? Is there option or filter for that in angularjs?