Update angular-resource.d.ts

Declare required for TS0.9
Merge pull request #635 from PicnicBasket/master

Missing declare keyword in file