$scope.add = function () {
            var action = $scope.handleAdd({ value: $scope.model });
            handleAction(action);
        };