因為AngularJS Dependency Injection 的關係,因此在Controller 傳入參數時,如果要使用特定的物件必須將名稱設定成固定的關鍵字(ex: $scope, $http).
確定! 回上一頁