text: /* Example controller that uses a service to communicate with a REST web service */
  angular.module('app').controller('AdminController', function($scope, AdminService){
    
    $scope.feedbackList = [];
  
    // init();
  
    function init() {
      AdminService.getFeedbackList(function(feedbackList){
  	     $scope.feedbackList = feedbackList;	
      });
    }
  
    $scope.submitPassword = function(){
      AdminService.submitPassword(function(feedbackList){
          $scope.feedbackList = feedbackList;
      }, $scope.enterPassword);
    }
  
  });
  