used ngAnimate for fade out animation
handle login error. minor topindicator directive refactor.