add angular resource d.ts

d.ts = typescript definition file (interfaces for angular)