javascript - Cannot read property 'document' of null - UI Bootstrap for angular -
i working on angular web application, , want use ui bootstrap angular
(https://angular-ui.github.io/bootstrap/)..
i downloaded js file , added index.html after angular.js , added 'ui.bootstrap'
angular module...
now have error when loading application:
typeerror: cannot read property 'document' of null @ m.each.contents (https://code.jquery.com/jquery.min.js:2:26696) @ function.m.extend.map (https://code.jquery.com/jquery.min.js:2:3714) @ m.each.m.fn.(anonymous function) [as contents] (https://code.jquery.com/jquery.min.js:2:26777) @ fa (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js:61:73) @ t (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js:51:429) @ t (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js:52:55) @ t (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js:52:55) @ e (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js:49:436) @ http://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js:18:4 @ l.$get.l.$eval (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js:125:305)
on incognito it's working well.. tried delete browser cache data , restart browser , it's works in first load , when reloaded page error come back....
what can do? using angular 1.3.13 , jquery 1.11.1
Comments
Post a Comment