Arquivos de etiquetas: Angular

Angular falla para iniciar o IE9

I’ve been playing around with Angular.js for the last long while and for the life of me, I could NOT get my Angular apps to launch in IE9.  They all work fine in IE11 but IE9 would just show the curly braces and similar bits.

I searched around and couldn’t find anyone complaining about his problem.  It worked fine in Chrome, IE11, just not IE9.

I was thrown off by the fact that the IE console was giving me errors like this:

SEC7111: HTTPS security is compromised by res://ieframe.dll/forbidframing.htm

That error had me thinking there was some problem downloading the angular or other libraries that I needed.  Como se ve, this was not the issue.

By poking around the internets, I finally found out that the phrase I needed to search for was “bootstrap” and that it seemed like the bootstrapping was failing.  A finais, my problem was that I had decorated my <html> tag with the ng-app attribute, como no:

<html ng-app="MatrixApp">

Ben, that didn’t work for IE9.  Pola, I wrapped all the rest of the HTML in the <corpo> inside a div and references MatrixApp that way.

Problem solved.

Hopefully this saves someone some grief.

</final>