integrated sentence logic about focusing/highlighting/class changing to angular js framework