title: Prevent angular from copying attributes when replace=true
body: <p>The following directive:</p>
  
  <pre><code>var app = angular.module('demo', []);
  app.directive('myDirective', function() {
      return {
          restrict: 'E',
          template: '&lt;h1&gt;Foo bar&lt;/h1&gt;'
      };
  });
  </code></pre>
  
  <p>With the following usage:</p>
  
  <pre><code>&lt;my:directive foo="bar"&gt;&lt;/my:directive&gt;
  </code></pre>
  
  <p>Renders the following HTML:</p>
  
  <pre><code>&lt;my:directive foo="bar"&gt;&lt;h1&gt;Foo bar&lt;/h1&gt;&lt;/my:directive&gt;
  </code></pre>
  
  <p>Since I want to replace my directive with the provided template I set <code>replace:true</code>. This produces the following HTML:</p>
  
  <pre><code>&lt;h1 foo="bar"&gt;Foo bar&lt;/h1&gt;
  </code></pre>
  
  <p>Note that Angular copies my directive's attributes to the template elements (the <code>foo="bar"</code>). How can I prevent this behaviour?</p>