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
f3761d0d
Commit
f3761d0d
authored
Aug 16, 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
7eaaeb75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
ionic-code-style.md
ionic/ionic-code-style.md
+25
-1
No files found.
ionic/ionic-code-style.md
View file @
f3761d0d
...
@@ -29,7 +29,31 @@ var JPushServiceModule = angular.module('JPushServiceModule',[]);
...
@@ -29,7 +29,31 @@ var JPushServiceModule = angular.module('JPushServiceModule',[]);
*
`tab-charts`
是报表tab功能使用的view
*
`tab-charts`
是报表tab功能使用的view
*
`tab-tools`
是工具tab使用的view
*
`tab-tools`
是工具tab使用的view
*
`tab-myInfo`
是我的tab使用的view
*
`tab-myInfo`
是我的tab使用的view
4.
在此举例
4.
在此举例主页tab申请创建功能
```
javascript
angular
.
module
(
'starter'
)
.
config
([
'$stateProvider'
,
function
(
$stateProvider
)
{
$stateProvider
.
state
(
'tab.project-create'
,
{
url
:
'/project-create'
,
views
:
{
"tab-applications"
:
{
templateUrl
:
'build/pages/applications/project-create/project-create.html'
,
controller
:
'projectCreateCtrl as pCreat'
}
}
})
}]);
angular
.
module
(
'applicationModule'
)
.
controller
(
'projectCreateCtrl'
,
projectCreateCtrl
);
projectCreateCtrl
.
$injet
=
[
'$state'
,
'$scope'
,
'$ionicModal'
,
'baseConfig'
,
'hlsHttp'
,
'hlsPopup'
,
'$stateParams'
];
function
projectCreateCtrl
(
$state
,
$scope
,
$ionicModal
,
baseConfig
,
hlsHttp
,
hlsPopup
,
$stateParams
)
{
var
vm
=
this
;
```
...
...
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