angular is a mess. it's the java of web frameworks. if you want up be enterprise(tm) go for it. Iām convinced it's only a thing because it gives people job security since nobody else chooses to touch it.
I don't know what you guys are doing with your Angular buttons, or if you haven't looked at it since AngularJS (which I never used, so I don't know what it took there).
Adding a button to Angular is just adding a <button> to your template. If you want to use Angular Material, that's one additional import in your component's code file, and one additional attribute for that template's <button> element.
import {MatButtonModule} from '@angular/material/button';
<button matButton (click)="onClick()">Click me!</button>
That's it. If your instructor got confused trying to achieve that, maybe that's why you were left with this weird impression of how verbose and complicated Angular is.
Just at least have a look at the documentation or tutorial before spreading fibs like that.
html in your JS > JS in your html.
angular is a mess. it's the java of web frameworks. if you want up be enterprise(tm) go for it. Iām convinced it's only a thing because it gives people job security since nobody else chooses to touch it.