Advertisement
Guest User

Public VS Private example - pre edits

a guest
May 26th, 2015
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. scControllers.controller('DisplayController', [
  2.   '$scope',
  3.   function($scope) {
  4.     var vm = this;
  5.     vm.active = 'now';
  6.     vm.setNav = function(nav){
  7.       vm.active = nav;
  8.     }
  9.     vm.getActive = function(){
  10.       return vm.active;
  11.     }
  12.   }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement