Angular JS in Google Apps Script

2019-07-24 00:59发布

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条回答
做自己的国王
2楼-- · 2019-07-24 01:39

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);
查看更多
登录 后发表回答