I am introducing angularjs in an existing asp.net project and there are many statements in the project which will work only in IE 7 compatibility mode but when i run the project i am getting following error from angularjs file
Object doesn't support property or method 'querySelector'
after a little R&D on the issue, i figured querySelector was introduced only from IE 8.
Now how can i make my application work in IE 7 with angularjs.?
i dont want to set the meta tag for more than ie 7 as my existing application has dependency on ie 7 which will not work in ie 8 and above.
i tried to configure angular module disabling SCE as follows:
var rtApp = angular.module("realTimeNotifications", []).config(function($sceProvider) {
// Completely disable SCE to support IE7.
$sceProvider.enabled(false);
});
but still no luck.
Thanks in advance.