$watch implemented correctly