framework watch on scope for str or function