Tag: angularjs typescript

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

我正在玩typesScript.I已经转换我的angular度js控制器到types脚本但im面临问题,在中继器。 (我附上了我的控制器代码如下: – 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 ){}