AngularJS Assignment to read-only properties is not allowed in strict mode in ie 11 AngularJS Assignment to read-only properties is not allowed in strict mode in ie 11 angularjs angularjs

AngularJS Assignment to read-only properties is not allowed in strict mode in ie 11


Add this line in your head tag and do refresh, when It will ask for "allow block content" click "yes".

<meta http-equiv="X-UA-Compatible" content="IE=11" />


It could be the following problem:

AngularJS controllers and "use strict"

Maybe it's just that IE 11 respects strict mode, which means if you do something like:

(function () {    "use strict";    function webAddressController($scope, $rootScope, web_address_service) {        // Do things    }}());

The webAddressControllerfunction is not in global scope for Angular to pick (the point of using the self executing syntax is to avoid adding things to global scope).

So, you might want to try something like:

(function (angular) {    "use strict";    angular.module('myApp').controller('webAddressController', function($scope) {        // Do things    });}(window.angular));​