Rails Angular boilerplate with uiRouter and ngAnimate