Thursday, December 11, 2014

Forcing AngularJS Apps to work in IE8


Official Angular JS Doc - Not Very Helpful (Disavows Support for IE8)
https://docs.angularjs.org/guide/ie

  1. Use ng-style tags instead of style="{{ someCss }}". The latter works in Chrome and Firefox but does not work in Internet Explorer <= 11 (the most recent version at time of writing).



HTML5 Cross Browser Polyfills
https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills


How to make your AngularJS app work in IE 8
http://blog-it.hypoport.de/2013/08/24/how-to-make-your-angularjs-app-work-in-ie-8/


Modernizr
http://modernizr.com/

Respond.js


normalize.css
https://github.com/necolas/normalize.css


Caching of AJAX Calls


1. need to explicitly set header to prevent browser-caching


Set the http response header ‘cache-control':’no-cache’ for every http Ajax response. That’s all what you need for IE 8,9,10. And of course it doesn’t hurt Chrome/Firefox, because that’s their default behaviour.


$.ajaxSetup({
    cache: false
});

Rendering of Place-Holders
http://jamesallardice.github.io/Placeholders.js/



Browser-Specific CSS Hacks
http://www.paulirish.com/2009/browser-specific-css-hacks/


Limits on Style Sheets in IE
http://blogs.msdn.com/b/ieinternals/archive/2011/05/14/10164546.aspx




No comments:

Post a Comment

comment: