-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73278a4
commit c3980f0
Showing
4 changed files
with
23 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
angular.module('arete.controllers').controller('wrkDetailCtrl', function ($state, $stateParams) { | ||
angular.module('arete.controllers').controller('wrkDetailCtrl', function ($scope, $translate, $stateParams) { | ||
'use strict'; | ||
|
||
var vm = this; | ||
vm.workoutId = $stateParams.id; | ||
vm.selected = ''; | ||
vm.days = []; | ||
|
||
for (var i = 1; i < 8; i++) { | ||
var day = { id: i, label: 'general.days.' + i }; | ||
vm.days.push(day); | ||
} | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters