Angular 2+ directive for fix autofocus on dynamically created controls (*ngIf, *ngFor, etc.). Uses native 'autofocus' selector, no need to change your html template. Doesn't use any dependencies.