Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angularjs vs IE 8 vs IE 11

I'm trying to make my web application based on Angularjs work in IE8 and IE11. After a lot of search, i am asking my question here: is it possible to make an Angularjs application work in IE11? and into IE11 ?

Thanks for advice

like image 574
badaboum Avatar asked Dec 07 '22 03:12

badaboum


2 Answers

I had a problem while loading a angularjs file on IE. It worked perfeclty as expected on Chrome and Firefox but was giving error as angular not defined and what not. After searching on Internet I applied following fix to my code

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

and now it displays the page.

like image 104
Kumar Nitesh Avatar answered Dec 24 '22 11:12

Kumar Nitesh


It should work and how you achieve that will depend on the application you are writing. Basically, you have to add extra codes to handle IE8. The AngularJS guide on IE should be a good place to start.

However, there could be situations where you run into problems. For example, when you want to use the "X-UA-Compatible" meta tag. An option could be to use the Google Frame plugin but Google has stopped updates on it from January 2014.

like image 29
kubuntu Avatar answered Dec 24 '22 12:12

kubuntu