PR Close #21053
Previously, `undefined` would be returned. This change makes it easier to identify incorrect uses/bugs. (Discussed in https://github.com/angular/angular/pull/18213#issuecomment-316191308.)