Answer the question
In order to leave comments, you need to log in
How to insert html markup from JSON file?
Good afternoon! There is a file with JSON data... it has a line with HTML markup... When I parse this JSON, the data from that line is inserted as text. And I need this markup to be inserted as part of the page with the functional code. I hope I explained it clearly...
All this is done on Angular.js
<ons-list-item modifier="chevron" class="list-item-container" ng-repeat="item in categories track by $index ">
<ons-row>
<ons-col>
<div class="name">
{{ item.org_name }}<br>
{{ item.org_work_alias}}<br>
{{ item.org_street_name }}, {{ item.adress_house }}<br>
{{ item.org_tel}}
</div>
</ons-col>
<ons-col width="40px"></ons-col>
</ons-row>
</ons-list-item>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question