Uilleach theipeann a bootstrap i 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.  Mar a casadh sé amach, 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.  Sa deireadh, my problem was that I had decorated my <html> tag with the ng-app attribute, mar atá i:

<html ng-app="MatrixApp">

Bhuel, that didn’t work for IE9.  Ina áit sin, I wrapped all the rest of the HTML in the <comhlacht> inside a div and references MatrixApp that way.

Problem solved.

Hopefully this saves someone some grief.

</deireadh>

Leave a Reply

Ní thabharfar do sheoladh r-phoist a fhoilsiú. Réimsí riachtanacha atá marcáilte *