title: Ignore deprecated warning in Angular 2 Jasmine
body: <p>I'm currently using Angular 2 (or angular 4) to run some tests in jasmine/karma. The problem is that I'm also using Material design that doesn't fully support angular 4 yet, this makes it impossible to test components as it will always throw the following error:</p>
  
  <pre><code>The &lt;template&gt; element is deprecated. Use &lt;ng-template&gt; instead
  
  ("[WARNING -&gt;]&lt;template&gt;&lt;div class="mat-autocomplete-panel" 
  role="listbox" [id]="id" [ngClass]="_getClassList()" #p")
  </code></pre>
  
  <p>I can't stop using 'template' as I'm not using it in my view, it's being used on a lower level by Material Design.</p>
  
  <p>So my question is:</p>
  
  <p><strong>Is there a way to ignore or suppress the warning? (seeing as the code runs fine when building the app)</strong></p>
  
  <p>edit: Md2 seems to have solved this issue: <a href="https://github.com/Promact/md2/issues/125" rel="nofollow noreferrer">https://github.com/Promact/md2/issues/125</a> (I can't vouch for this)</p>