How can I remove the ng-repeats and ng-includes produced when compiling a templatecache
<p>My goal is to produce an HTML string that will be saved in a database and can be displayed in other angular apps.</p>

<p>I was able to get that string but any ng-repeats and ng-includes are still a part of that markup so when I try to display that HTML it essentially tries to compile it again and since there are no values within the ng-repeat or ng-bind it ends up not showing those pieces. </p>

<p>The markup is pretty much perfect if I can just get rid the ng-binding and ng-repeats, or possibly tell Angular to ignore the ng-repeats/ng-includes on the side I'm displaying them. Any ideas?</p>