小编San*_*tap的帖子

如何在 Google Slides API 中将幻灯片导出为 HTML/PDF/DOC

我正在使用谷歌幻灯片 API 来创建 powerpoint 演示文稿。其他所需功能包括 - 导出为 PDF 导出为 HTML 导出为文档/图像格式。

Slides API有没有给出的方法?

google-slides google-slides-api

6
推荐指数
2
解决办法
1万
查看次数

如何从 AngularJS 中的不同控制器更改表单值

我有以下 html(示例)

<div ng-controller='ctrl-1'>
    <form>
        <input type='text' ng-model='name'/>
    </form>
</div>
Run Code Online (Sandbox Code Playgroud)

和 js 文件为:

app.controller('ctrl-1',function($scope){
    $scope.name = 'john';
});

app.controller('ctrl-2',function($scope){
   /*
    Here I want to change value of 'name' field which is in 'ctrl-1'
    */
});
Run Code Online (Sandbox Code Playgroud)

如何在 angular js 中实现这一点?

angularjs angularjs-scope angular-controller

1
推荐指数
1
解决办法
2352
查看次数