Commit 0e651dd4 authored by JingChao's avatar JingChao

Updates ionic/ionic-code-style.md

Auto commit by GitBook Editor
parent cb711a7f
......@@ -23,7 +23,14 @@
* js文件的书写具有规范性,不安规范书写会出错
![](/picture/js-controller.png)
![](/picture/js-controller.png)
- 严格遵循MVC模式
- controller名称不允许从复
- js中许多地方都有controller,编写js是全部修改过来
- angularjs 采用依赖注入的方式,服务注入顺序必须保持一致即如下图
![](/picture/controller-server.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