Update angular-resource.d.ts

declare required for TS 0.9