在AngularJS 中, ng-controller 指令把控制器附加到檢視上。 使用 ng-controller (或把控制器定義為路由的一部分)把檢視及其控制器的程式碼聯絡在一起。
確定! 回上一頁