首先在頁面上繫結data-ng-init <div > <div data-ng-init="load()" ></div> </div>. 首先控制器中繫結對應的函式 $scope.load = function() { alert(' ...
確定! 回上一頁