Added filters to the controller and public scope methods to dynamically change classes