Update angular-resource.d.ts

Declare required for TS0.9