text: (function() {
  
    'use strict';
  
    angular
      .module('timeTracker')
      .factory('user', user);
  
      function user($resource) {
  
        // ngResource call to the API for the users
    	  var User = $resource('api/users');
  
        // Query the users and return the results
        function getUsers() {
    	    return User.query().$promise.then(function(results) {
    	      return results;
    	    }, function(error) {
    	      console.log(error);
    	    });
        }
  
        return {
          getUsers: getUsers
        }
      }
      
  })();