Reputation: 71
I created a to do list app using html, css and javascript. I'm trying to create the same app using javascript. The problem I'm facing is that I'm getting this error when I include angular in my application.
Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.
Upvotes: 1
Views: 835
Reputation: 8632
this could be an IE bug, try bootstrapping your app manually instead of relying on the standard approach with the ng-app
directive.
angular.element(document).ready(function () {
angular.bootstrap(document, ['nameOfYourApp']);
});
https://github.com/angular/angular.js/issues/15567
https://github.com/angular/angular.js/issues/15772
Upvotes: 5