fixed the carousel error and deleted angular animate (which was the cause of the problem).