Search code examples
angularjsgoogle-apps-scriptgoogle-caja

Angular JS in Google Apps Script


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?


Solution

  • 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);