add lib ngAnimate for future use
fix $scope.server not defined error