Removed the loading bar as it worked half the time and was messing with the ui routes.