Adding ngAnimate and a loader directive