fix angularjs/angular-resource.d.ts for typescript 0.9.7.