Make `angular1` typings compatible with older versions of AngularJS typings from `@types/angular`. Closes #26420 PR Close #26880
@publicApi
@experimental