I am trying to use the Google developer AngularJS library in an extension popup, but I get an error.
Error: Code generation from strings disallowed fo
<html ng-app="" ng-csp>
causes an error in Chrome stable M21 in a chrome-extension://*.xhtml file.
<html ng-app="" ng-csp="">
appears to work.
You have to use CSP mode in angular to be inside Chrome extension. See: https://github.com/angular/angular.js/issues/893
Basically you have to declare your app as:
<html ng-app="" ng-csp>