move out spinner directive
move out error directive