What is wrong with my Angular code? I am getting:
Cannot read property \'remove\' of undefined at BrowserDomAdapter.removeClass ...
While I was creating a reactive form, I had to assign 2 types of class on the button. This is how I did it:
Sign in
When the form is valid, button has btn and btn-class (from bootstrap), otherwise just btn class.