model一開始載入,會先執行ng-init,我們可以利用ng-init設定初始值。 ... 只要在你欲顯示的區域範圍內加上ng-init="變數='值'" ... function MainCtrl($scope){
確定! 回上一頁