watch on variable specified in directive attribute