Commit 4fb47e4d authored by JingChao's avatar JingChao

Updates ionic/ionic-instruction.md

Auto commit by GitBook Editor
parent 0843e81f
......@@ -28,7 +28,10 @@ var JPushServiceModule = angular.module('JPushServiceModule',[]);
* `tab-charts`是报表tab功能使用的view
* `tab-tools`是工具tab使用的view
* `tab-myInfo`是我的tab使用的view
4. js文件书写规范
* `Angular`采用依赖注入模式,`js`中需要使用那些服务注入哪些,多余的不要注入。
* 采用`this`关键字代替
4. 在此举例主页tab申请创建功能
```javascript
angular.module('starter')
......@@ -60,6 +63,7 @@ function projectCreateCtrl($state, $scope, $ionicModal, baseConfig, hlsHttp,
* 3.0 定义`projectCreateCtrl` controller,命名规范参考[前端开发规范](/ionic/ionic-code-style.md)
**同一应用controller不能从复**
......
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