Here is the code snippet I am working with:
<div ng-repeat="pTabs in child.productTabs" ng-click="toggleProductTab($index)" ng-if="productTabIsActive(pTabs, $index)">
<div ng-repeat="specs in pTab.additionalSpecs">
<p>{{specs.content}}</p> <!--Displays url-->
<div ng-include src = {{specs.content}}></div> <!--My attempt to display the html content-->
</div>
</div>
The {{specs.content}}
variable holds an html file that contains the html content I want to include on the page. However, when I wrap it in a <p>
tag, the URL is displayed as text instead of rendering the html content. I have tried using ng-include to add the html content to the page but so far I have been unsuccessful.
If anyone has any suggestions or solutions on how to make this work correctly, I would greatly appreciate your assistance.