當建立AngularJS的Controller時,可以使用$scope來傳遞參數: <div ng-app="myCar" ng-controller="CarCtrl"> <h1>我的車是{{Car}}</h1> </div> ...
確定! 回上一頁