同理,在AngularJS裡,ng-controller主要是view用來和model溝通的橋梁,綁定資料雙向連結 ... 首先,先設置好ng-app=“app”跟ng-controller=“appCtrl”.
確定! 回上一頁