Guest User

controller

a guest
Jun 1st, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mostrarGruposProf.$inject = ['$scope'];
  2.  
  3. function mostrarGruposProf($scope) {
  4.  
  5.     var getGrupos, infoGrupos;
  6.  
  7.     getGrupos = localStorage.getItem('GruposProf');
  8.     infoGrupos = JSON.parse(getGrupos);
  9.  
  10.     $scope.datos = {
  11.         menuGrupos: infoGrupos,
  12.         opcionGrupo: function() {
  13.             console.log($scope.seleccionado);
  14.         }
  15.     };
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment