Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hel-guide
app
Commits
0e651dd4
Commit
0e651dd4
authored
Aug 20, 2017
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates ionic/ionic-code-style.md
Auto commit by GitBook Editor
parent
cb711a7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
ionic-code-style.md
ionic/ionic-code-style.md
+8
-1
controller-server.png
picture/controller-server.png
+0
-0
No files found.
ionic/ionic-code-style.md
View file @
0e651dd4
...
...
@@ -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文件注册
...
...
picture/controller-server.png
0 → 100644
View file @
0e651dd4
12.7 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment