I don't see a DTD on your pasted code. There should be an element above the `<html>` that has: `<!doctype html>`.
On Tuesday, February 4, 2014 12:20:52 PM UTC-8, Surreal wrote: > > Hi, > > I made a quick test to check if my app was compatible with IE7+. > Weirdly, it works in IE7 but I get this error in IE8 ( > http://docs.angularjs.org/error/$sce:iequirks): > > Strict Contextual Escaping does not support Internet Explorer version < 9 > in quirks mode. You can fix this by adding the text <!doctype html> to the > top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for > more information. > > I specified the right doctype though: > > <html> > <head> > <meta charset="utf-8"> > <title>Selecteur cartes - demo</title> > <link rel="stylesheet" href="css/app.css"> > <link rel="stylesheet" href="css/bootstrap.css"> > <script src="lib/xml2json.js"></script> > <!--[if lte IE 8]> > <script src="/path/to/json2.js"></script> > <![endif]--> > <script src="lib/angular/angular.js"></script> > <script src="js/controllers.js"></script> > </head> > <body> > > <div id="ng-app" ng-app="cardsApp"> > <div ng-controller="CardsListCtrl"> > <div> > Recherche : <input ng-model="query"> > </div> > <div> > <ul> > <li ng-repeat="card in cards | filter:query"> > {{card.nom}} > <p>{{card.typecarte}}</p> > </li> > </ul> > > </div> > > </div> > </div> > > </body> > </html> > > So you know, I can control what's inside the <body> element. > > Has anybody an idea ? > Thanks > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
