摘要: 使用angularjs 提供的 when 和 otherwise 两个方法来定义路由 用 config 方法在特定的模块中定义路由 eg : angular.module("app", []) .config(["$routeProvider", function($routeProvider) { 阅读全文
posted @ 2017-03-20 11:18 linfang.zhou 阅读(162) 评论(0) 推荐(0) 编辑