How can Iisten to particular variable value change in the Angular component ?
I want like, I have a variable in TypeScript defines in Angular component, so in any scenario if the value for that variable is changed, I need to make some operation like call the API or alert the user.
Is there any way in angular to achieve that ?
Add comment