Commit d72e5a30 authored by JingChao's avatar JingChao

Updates ionic/ionic-code-style.md

Auto commit by GitBook Editor
parent 0e651dd4
......@@ -28,7 +28,7 @@
- 严格遵循MVC模式
- controller名称不允许从复
- js中许多地方都有controller,编写js是全部修改过来
- angularjs 采用依赖注入的方式,服务注入顺序必须保持一致即如下图
- angularjs 采用依赖注入的方式,服务注入顺序必须保持一致即如下图,js中需要哪些服务注入哪些,多余的建议删除
![](/picture/controller-server.png)
......
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