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