SHOW:
|
|
- or go back to the newest paste.
1 | scControllers.controller('DisplayController', [ | |
2 | '$scope', | |
3 | function($scope) { | |
4 | var vm = this; | |
5 | - | vm.active = 'now'; |
5 | + | var active = 'now'; |
6 | ||
7 | - | vm.active = nav; |
7 | + | |
8 | - | } |
8 | + | active = nav; |
9 | }; | |
10 | - | return vm.active; |
10 | + | |
11 | - | } |
11 | + | |
12 | return active; | |
13 | }; | |
14 | }]); |