watch parent scope variable change