When working with our application, we often need to display or hide a button based on specific logic. Where do you think it is best to define this logic and why? In HTML:
*ngIf='logic goes here'
//Or
*ngIf='someBoolean' and in TypeScript someBoolean = 'logic goes here'.