Is there a way to transform the angular "live DOM" to a flattened plain html? I mean turning this:
<!-- ngRepeat: ref in refs track by $index -->
<p ng_repeat="ref in refs track by $index" class="ng-scope ng-binding">a0120</p>
<p ng_repeat="ref in refs track by $index" class="ng-scope ng-binding">a0241</p>
<p ng_repeat="ref in refs track by $index" class="ng-scope ng-binding">z1242</p>
<p ng_repeat="ref in refs track by $index" class="ng-scope ng-binding">a0120</p>
into this:
<p>a0120</p>
<p>a0241</p>
<p>z1242</p>
<p>a0120</p>
Of course, classes and attributes not related to angular compile process would be kept.
Thanks
Thanks