Have support for injecting a component with it's token and the alias provided in the @Component decorator. A class token should be created regardless of other tokens.
Example:
@Component(ComponentToken)
class Component { ... }
@Component()
class ComponentHolder {
@Inject(ComponentToken)
private component: Component;
@Inject()
private comp: Component; // this does not work at the moment
}
Have support for injecting a component with it's token and the alias provided in the @Component decorator. A class token should be created regardless of other tokens. Example: