use scope. to watch attrs