Skip to content

Commit b8e8396

Browse files
authored
Create README.md
1 parent 3e9ce80 commit b8e8396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,8 +1193,9 @@ angular.module('helloWscatsApp',['ngRoute'])
11931193
```
11941194
11951195
**$routeProvider**
1196+
11961197
两个核心方法`when()``otherwise()`
1197-
|||
1198+
|配置参数|用法|
11981199
|-|-|
11991200
|controller|function或string类型。在当前模板上执行的controller函数,生成新的scope|
12001201
|controllerAs|string类型,为controller指定别名|
@@ -1221,4 +1222,3 @@ module.config(['$routeProvider', function($routeProvider) {
12211222
});
12221223
}]);
12231224
```
1224-
```

0 commit comments

Comments
 (0)