title: Angular2 with modernizr
body: <p>I am learning angular2 and building my own custom components using ng2-bootstrap. I want to use modernizer to detect form input which are natively supported by browser.</p>
  
  <p>I am using webpack for building my project.I have successfully configured that.</p>
  
  <p>What I did till now is:</p>
  
  <hr>
  
  <ol>
  <li>Install npm install -g modernizr</li>
  <li>Downloaded modernizr-custom.js with only form inputs checked.</li>
  <li>Downloaded modernizr-config.json</li>
  <li>I did modernizr -c modernizr-config.json to get a js file.ow to use</li>
  </ol>
  
  <hr>
  
  <p>I am not sure how to Modernizr.inputtypes.date in my own custom component?How we can access Modernizr variable in my component?</p>
  
  <p>Any help is much appreciated.</p>