title: Angular expressions with Modernizr values?
body: <p>I would like to show different controls if there is no html 5 native browser support for the new input types.</p>
  
  <p>I was hoping to do something like this:</p>
  
  <pre><code> &lt;p ng-show="{{Modernizr.inputtypes.datetime-local}}"&gt;Modernizr says datetime-local is supported!&lt;/p&gt;
  </code></pre>
  
  <p>However it appears that Modernizr is not available to Angular expressions.</p>
  
  <p>Is the way to go about this to put all the Modernizr values I'm interested in on the rootscope on startup so they <em>can</em> be used in expressions or is there a better way?</p>