Skip to main content

All Questions

0 votes
3 answers
392 views

Is it possible to pass a boolean to a directive and trigger something if that boolean changes without $watch?

I was hoping to be able to do something similar to the following simplified example: class ButtonController { set isFoo(value) { console.log(value); // do something here } } angular....
jjenzz's user avatar
  • 1,559