在service 和controller 需要時創建。 通常我們使用factory 函數來計算或返回值。 // 定义一个模块var mainApp = angular.module("mainApp", []) ...
確定! 回上一頁