Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scControllers.controller('DisplayController', [
- '$scope',
- function($scope) {
- var vm = this;
- vm.active = 'now';
- vm.setNav = function(nav){
- vm.active = nav;
- }
- vm.getActive = function(){
- return vm.active;
- }
- }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement