Commit 3f0593a0 authored by JingChao's avatar JingChao

Updates ionic/ionic-instruction.md

Auto commit by GitBook Editor
parent b025365f
...@@ -60,13 +60,14 @@ function projectCreateCtrl($state, $scope, $ionicModal, baseConfig, hlsHttp, ...@@ -60,13 +60,14 @@ function projectCreateCtrl($state, $scope, $ionicModal, baseConfig, hlsHttp,
**路由名称不能从复** **路由名称不能从复**
* 2.0 使用`tab-applications` 的view,使用`applicationModule` modele * 2.0 使用`tab-applications` 的view,使用`applicationModule` modele
* 3.0 定义`projectCreateCtrl` controller,命名规范参考[前端开发规范](/ionic/ionic-code-style.md) * 3.0 定义`projectCreateCtrl`并取别名`pCreat` controller,命名规范参考[前端开发规范](/ionic/ionic-code-style.md)
**同一应用controller不能从复** **同一应用controller不能从复**
* 4.0 html页面的编写 * 4.0 html页面的编写
``` ```
<div class="next-button" ng-click="pCreat.create(pCreat.project)">创建</div> <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