However, the options seem to be compiled with the initial value of the variables, and then not updated when the variable cac.isReduced changes its value. I have tried to initialize the app with the variable assigned to true and assigned to false and then change it through the corresponding interaction in the app, resulting in the same events being recognized.
I would say there are some $watch(...) functions missing, but I do not have time to check it.
Can you have a look at this problem?, I think it would improve a lot the library :).
Hello,
I have managed to insert variables from my
$scope
into the attributes of thehm-recognizer-options
directive.However, the options seem to be compiled with the initial value of the variables, and then not updated when the variable
cac.isReduced
changes its value. I have tried to initialize the app with the variable assigned totrue
and assigned tofalse
and then change it through the corresponding interaction in the app, resulting in the same events being recognized.I would say there are some
$watch(...)
functions missing, but I do not have time to check it.Can you have a look at this problem?, I think it would improve a lot the library :).
Thank you in advance!