Update resource.js

Minor formatting cleanup of angular-resource.js