Thanks a lot for your quick reply. This is indeed an interesting solution.
However I would like to know why my approach is not working - is it a bug in ionic or am I doing something wrong. As far as I understand it, it should work.
I can’t really simply explain with it didn’t work…
I think it’s related to how angular (not ionic) manage scope’s variable sharing and watch propagation (from parent to child or from child to parent).
Another simple solution in your case to avoid these annoying things is to use a “view” variable object with a “mode” property, instead of a “viewMode” variable : the dot syntax “view.mode” seems to fix these kind of strange behaviors.