Update externs to allow passing objects to $q.all