问题
Does Angular JS will be supported by Google Apps Script? I am able to use external Library like jQuery, UnderscoreJS but not Angular JS?
Any idea about when CAJA will support Angular JS?
回答1:
Google Apps Script supports Angular JS . You need to use the full version (not minified) . There are some issues on firefox, but works fine mostly.
You can use angular with following change in your appscript file.
var ui = HtmlService.createHtmlOutputFromFile('myPage')
.setTitle('My Title');
ui.setSandboxMode(HtmlService.SandboxMode.IFRAME);
来源:https://stackoverflow.com/questions/25610315/angular-js-in-google-apps-script