How can I use Angular.js in a Google Apps Script served HTML site?

后端 未结 2 1256
孤街浪徒
孤街浪徒 2020-12-29 00:12

Is it possible to include and use Angular.js as part of a web app served using HtmlService in Google Apps Script or will caja sanitise it out?

Additionally will it b

相关标签:
2条回答
  • 2020-12-29 00:28

    You can use angular with following change in your appscript file.

    var ui = HtmlService.createHtmlOutputFromFile('myPage')
      .setTitle('My Title');
    ui.setSandboxMode(HtmlService.SandboxMode.IFRAME);
    
    0 讨论(0)
  • 2020-12-29 00:30

    This is not currently possible, although it may be supported in the future.

    0 讨论(0)
提交回复
热议问题