$http.put('admin/api-admin-user/change-email', {token: $scope.email.token}).then(function(success) {
                AdminToastService.success(i18n['js_account_update_profile_success']);
                $scope.getProfile();
            }, function(error) {
                AdminToastService.errorArray(error.data);