mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
Decorator member cards used `${member.name}_${index}` as their id, which
was copied from the function template where overloads share a name.
Links to `Component#animations`, `Directive#exportAs` and `NgModule#id`,
including the one in Angular's runtime animations error, never matched
a card.
Decorator options have unique names, so use the member name as the id,
the same as class members.