Commit 61bace52 authored by JingChao's avatar JingChao

Updates ionic/ionic-instruction.md

Auto commit by GitBook Editor
parent ae902e5a
...@@ -32,7 +32,11 @@ var JPushServiceModule = angular.module('JPushServiceModule',[]); ...@@ -32,7 +32,11 @@ var JPushServiceModule = angular.module('JPushServiceModule',[]);
* `Angular`采用依赖注入模式,`js`中需要使用那些服务注入哪些,多余的不要注入。 * `Angular`采用依赖注入模式,`js`中需要使用那些服务注入哪些,多余的不要注入。
* 采用`this`关键字代替`$scope`关键字(运行效率问题),一般使用 * 采用`this`关键字代替`$scope`关键字(运行效率问题),一般使用
```javascript ```javascript
var vm = this;
vm.slideindex = 0;
vm.con = {};
vm.selectDebitBank = selectDebitBank;
vm.selectEbankAccount = selectEbankAccount;
``` ```
4. 在此举例主页tab申请创建功能 4. 在此举例主页tab申请创建功能
......
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