Commit 00411276 authored by JingChao's avatar JingChao

Updates ionic/ionic-code-style.md

Auto commit by GitBook Editor
parent 05c0d853
......@@ -35,6 +35,10 @@
* 采用 `this`关键字代替js中 `$scope`,因存在效率问题
![](/picture/controller-this.png)
* html中使用`controller`需要注意,因变量声明不采取`$scope`方式,故html中使用有点区别。采用`controller`别名加属性名的方式 如下
![](/picture/controller-html.png)
### III. SCSS文件注册
......
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