change $watch to $apply in lecture page controller