Angular Fails to Bootstrap in 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.  Ինչպես պարզվում է, 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.  Վերջում, my problem was that I had decorated my <html> tag with the ng-app attribute, ինչպես:

<html ng-app="MatrixApp">

Լավ, that didn’t work for IE9.  Փոխարեն, I wrapped all the rest of the HTML in the <մարմին> inside a div and references MatrixApp that way.

Problem solved.

Hopefully this saves someone some grief.

</վերջ>

Ավելացնել կարծիք

Ձեր էլ. Փոստի հասցեն չի հրապարակվելու. Պահանջվող դաշտերը նշված են աստղանիշով *