AngularJS and Modernizr

posted in: Uncategorized | 0

This is part two of my look into AngularJS.

  1. AngularJS Intro and Setup
  2. AngularJS and Modernizr
  3. AngularJS and jQueryUI DatePicker
  4. AngularJS with TextArea and Scroll To
  5. AngularJS and Javascript Tips
  6. Coming soon…

You can use Modernizr to check if the browser supports HTML5 features and to see if it has javascript support.

To use Modernizr add the below code above the <head> section in the index.html:

The in the controllers.js add something similar to the following:


See and Detecting HTML5 Features for more in depth infomation.