Main controller, angular update, UI styling