(function (angular) {
    'use strict';

    var module = angular.module('user_management.verification');

    module.directive('verify', [
        '$route',
        'verificationFactory',
        function ($route, verificationFactory) {
            return {
                restrict: 'A',
                scope: true,
                templateUrl: 'templates/user_management/verification/verify.html',
                link: function (scope, element, attrs) {
                    var TOKEN = $route.current.pathParams.token;

                    verificationFactory
                        .verify.post(TOKEN)
                        .then(function (response) {
                            scope.status = response.status;
                        });
                }
            };
        }
    ]);

}(window.angular));



@@ -518,16 +518,58 @@
 token;%0A%0A
+                    scope.loading = true;%0A
         
@@ -756,16 +756,253 @@
 status;%0A
+                        %7D, function (response) %7B%0A                            scope.status = response.status;%0A                        %7D)%0A                        %5B'finally'%5D(function () %7B%0A                            scope.loading = false;%0A
         

Add loading status, and response status from errors to verification scope.