title: Angular Material 2 md-input-container not working
body: <p>I'm encountering an issue with angular-material2 where I'm trying to use an input. However, none of what I tried has worked.</p>
  
  <p>I'm getting this issue:</p>
  
  <blockquote>
    <p>'md-input-container' is not a known element</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/50OLF.png" alt="Console issue"></p>
  
  <p>HTML:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;md-input-container&gt;
  &lt;input mdInput placeholder="Favorite food" value="Sushi"&gt;
  &lt;/md-input-container&gt;
  </code></pre>
  
  <p>I imported this in my <strong>component.ts</strong> and in my <strong>app.ts</strong>:</p>
  
  <pre class="lang-ts prettyprint-override"><code>import { MdInputModule } from '@angular/material';
  </code></pre>
  
  <p>and I declared it in my 'imports' in @NgModule in <strong>app.ts</strong></p>
  
  <p>My version of material is <strong>@angular/material@2.0.0-beta.8</strong></p>
  
  <p>Thanks for your help.</p>
  
  <p>EDIT : I found that I imported it in the <strong>app.module.ts</strong> which imported another module where I needed to put the declarations. My code is a bit messy, I need to clear it up. Sorry for this my friends. Case closed.</p>