Update resource.js

Method is passed through to $http. The current list of methods are no more valid than any other accepted by $http