title: Get raw AngularJS "innerHTML" as it appears in the editor?
body: <p>I am working on some sort of documentation website and I want to have an Angular component side by side with its code, as it is shown in the editor. So it's ready to be copy pasted.</p>
  
  <p>I tried to get the element's innerHTML but what I get is not the raw code. Is that possible? I want to avoid having to duplicate my code (once to display it, and the second time to show it in a <code>&lt;xmp&gt;</code> tag for another developer to copy-paste).</p>
  
  <p>So basically I'm looking for a solution that always reflects the certain element's raw code as it appears in the editor.</p>
  
  <p>Any ideas?</p>