title: Can I use Angular.js as templating engine?
body: <p>I want to generate static html using Angular 1 directives for various use cases. For example:</p>
  
  <pre><code>&lt;div&gt;
      Name: &lt;span ng-bind="name"&gt;&lt;/span&gt;
  &lt;/div&gt;
  &lt;div ng-if="phone"&gt;
      Phone: &lt;span ng-bind="phone"&gt;&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>given <code>{name: "John"}</code> as <code>$scope</code> should generate the following html:</p>
  
  <pre><code>&lt;div&gt;
      Name: &lt;span&gt;John&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Notice the absence of angular directives and angular ng-if comments. Is something like this possible with Angular 1?</p>
  
  <p><strong>UPDATE:</strong> I want to use angular's template engine to generate static, non-interactive, html. Think underscore templates or server side template engines. The use case is to generate pieces of html that user can take away into his own non-angular application. Another use case would be to assemble a static html email from an angular template. All of this done without server side. Angular already let's you do this but it leaves all of its artifacts in the html which are obviously not needed for my use case. This is not inefficient as some commenters have said, this is actually quite efficient to be able to generate html without server side and utilizing the already powerful template engine of angular.</p>