$rootScope.success
$rootScope.error