try use $watch