Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
DaTA
DDLTN
Commits
144989bc
Commit
144989bc
authored
Feb 07, 2017
by
Francois Hendriks
Browse files
Deactivate html5
parent
95b70bc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend_ddltn/app/js/personal/animateController.js
View file @
144989bc
angular
.
module
(
'
frontendDdltnApp.animate
'
)
.
controller
(
'
AnimateCtrl
'
,
function
(
$rootScope
)
{
$rootScope
.
ConcoursCollapsed
=
true
;
$rootScope
.
Vie_en_ecoleCollapsed
=
true
;
$rootScope
.
Vie_en_prepaCollapsed
=
true
;
console
.
log
(
"
at least this works
"
);
.
factory
(
'
VariableService
'
,
function
()
{
return
{
ConcoursCollapsed
:
true
,
Vie_en_ecoleCollapsed
:
true
,
Vie_en_prepaCollapsed
:
true
,
};
})
.
controller
(
'
AnimateCtrl
'
,
function
(
$scope
,
VariableService
)
{
$scope
.
ConcoursCollapsed
=
VariableService
.
ConcoursCollapsed
;
$scope
.
Vie_en_ecoleCollapsed
=
VariableService
.
Vie_en_ecoleCollapsed
;
$scope
.
Vie_en_prepaCollapsed
=
VariableService
.
Vie_en_prepaCollapsed
;
})
.
directive
(
'
personalanimate
'
,
function
(
$window
)
{
...
...
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