How can I autofocus input element? Similar to this question, but not with AngularDart. Something like this:
I know this is an old post but for others looking for a newer answer: I was using an angular material dialog and it was auto-selecting the close button not the input.
Using cdk-focus-start (part of the CDK) fixes this ... with no additional code.
cdk-focus-start