相关疑难解决方法(0)

如何使用TypeScript Controller和Angular Js绑定数据

我正在使用Type Script.I已将我的角度js控制器转换为类型脚本但是我面临着ng-repeater中的问题.(我在下面附上了我的控制器代码: -

class CustomCtrl{
    public customer;
    public ticket;
    public services;
    public cust_File;
    public ticket_file;
    public service_file;

    static $inject = ['$scope', '$http', '$templateCache'];
    constructor (
            private $http,
            private $templateCache
    ){}
Run Code Online (Sandbox Code Playgroud)

javascript angularjs typescript angularjs-ng-repeat

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