Update resource.js

In reference to this pull request, an update in the documentation is the best way to go about it: https://github.com/angular/angular.js/pull/8632
Should use object notation: `transformRequest: []`. And the leading text should be more explicit, "set transformRequest to an empty array...