title: add a custom function on angular $resource
body: <p>I have an angular resource that goes something like this</p>
  
  <pre><code>app.factory('User', function ($resource) {
      return $resource(
          '/api/user/:listCtrl:id/:docCtrl/', {
              id: '@id',
              listCtrl: '@listCtrl',
              docCtrl: '@docCtrl'
          }, {
              update: {
                  method: 'PUT'
              },
              current: {
                  method: 'GET',
                  params: {
                      listCtrl: 'current'
                  }
              },
              nearby: {
                  method: 'GET',
                  params: {
                      docCtrl: 'nearby'
                  },
                  isArray: true
              }
          }
      );
  });
  </code></pre>
  
  <p>now i want to have full name in the view, can i add a method so that when i do this</p>
  
  <pre><code>$scope.user = User().current();
  </code></pre>
  
  <p>instead of doing the following in html</p>
  
  <pre><code>&lt;p&gt;{{ user.first_name }} {{ user.last_name }}&lt;/p&gt;
  </code></pre>
  
  <p>i do this</p>
  
  <pre><code>&lt;p&gt;{{ user.get_full_name }}&lt;/p&gt;
  </code></pre>
  
  <p>is there a way to add this property to the <code>$resource</code>?</p>