You can use reactive forms and check if the specific input is valid or not and use it to the next input.
https://stackblitz.com/edit/angular-8-reactive-form-validation-oybffrk8?file=app%2Fapp.component.ts&file=app%2Fapp.component.html