Commit d27bba5d authored by JingChao's avatar JingChao

Updates ionic/ionic-instruction.md

Auto commit by GitBook Editor
parent 48cd4f0b
......@@ -30,7 +30,7 @@ var JPushServiceModule = angular.module('JPushServiceModule',[]);
* `tab-myInfo`是我的tab使用的view
4. js文件书写规范
* `Angular`采用依赖注入模式,`js`中需要使用那些服务注入哪些,多余的不要注入。
* 采用`this`关键字代替`$scope`关键字(运行效率问题),一般使用下形式代替
* 采用`this`关键字代替`$scope`关键字(运行效率问题),一般使用下形式代替
```javascript
var vm = this;
vm.slideindex = 0;
......
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