Use angular-1.3-http-promise.js externs file