Angular controllers to change the viewset