Commit a6fcd350 authored by JingChao's avatar JingChao

Updates ionic/ionic-instruction.md

Auto commit by GitBook Editor
parent 9752a3c3
......@@ -53,17 +53,17 @@ function projectCreateCtrl($state, $scope, $ionicModal, baseConfig, hlsHttp,
hlsPopup,$stateParams) {
var vm = this;
```
* 1.0 注册此页面的路由,
* 注册此页面的路由,
路由指向project-create.html页面
![](/picture/ionic-controller.png)
**路由名称不能从复**
* 2.0 使用`tab-applications` 的view,使用`applicationModule` modele
* 3.0 定义`projectCreateCtrl`并取别名`pCreat` controller,命名规范参考[前端开发规范](/ionic/ionic-code-style.md)
* 使用`tab-applications` 的view,使用`applicationModule` modele
* 定义`projectCreateCtrl`并取别名`pCreat` controller,命名规范参考[前端开发规范](/ionic/ionic-code-style.md)
**同一应用controller不能从复**
* 4.0 html页面的编写
* html页面的编写
```javascript
<div class="next-button" ng-click="pCreat.create(pCreat.project)">创建</div>
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment