title: Saving AngularJS template as string
body: <p>I may just be confusing myself here.  But I have a view with a combination of variables and text.  And I need to store the entire contents as a string inside my model. ie.</p>
  
  <pre><code>&lt;h3&gt;
    {{vars.color}} is my color: {{theme.color.black}};
  &lt;/h3&gt;
  </code></pre>
  
  <p>I'm hoping to be able to save the string to:</p>
  
  <pre><code>{{preference.string}} // as 'base is my color: #000'
  </code></pre>
  
  <p>I have no problem displaying the text.  But I want to save the whole string.  (As if I could add ng-model) to the 'h3' tag.  But that doesn't work.</p>
  
  <p>Should I be doing this in a function or directive instead?</p>
  
  <p>Thanks in advance...</p>