dist/paging.js
function addRange(start, finish, scope) {
    
        // Add our items where i is the page number
        var i = 0;
        for (i = start; i <= finish; i++) {

            var pgHref = scope.pgHref.replace(regex, i);
            var liClass = scope.page == i ? scope.activeClass : ''; 

            // Handle items that are affected by disabled
            if(scope.isDisabled){
                pgHref = '';
                liClass = scope.disabledClass;
            }


            scope.List.push({
                value: i,
                title: scope.textTitlePage.replace(regex, i),
                liClass: liClass,
                pgHref: pgHref,
                action: function () {
                    internalAction(scope, this.value);
                }
            });
        }
    }
function addRange(start, finish, scope) {
    
        // Add our items where i is the page number
        var i = 0;
        for (i = start; i <= finish; i++) {

            var pgHref = scope.pgHref.replace(regex, i);
            var liClass = scope.page == i ? scope.activeClass : ''; 

            // Handle items that are affected by disabled
            if(scope.isDisabled){
                pgHref = '';
                liClass = scope.disabledClass;
            }


            scope.List.push({
                value: i,
                title: scope.textTitlePage.replace(regex, i),
                liClass: liClass,
                pgHref: pgHref,
                action: function () {
                    internalAction(scope, this.value);
                }
            });
        }
    }
function addRange ( start , finish , scope ) { // Add our items where i is the page number var i = 0 ; for ( i = start ; i <= finish ; i ++ ) { var pgHref = scope . pgHref . replace ( regex , i ) ; var liClass = scope . page == i ? scope . activeClass : '' ; // Handle items that are affected by disabled if ( scope . isDisabled ) { pgHref = '' ; liClass = scope . disabledClass ; } scope . List . push ( { value : i , title : scope . textTitlePage . replace ( regex , i ) , liClass : liClass , pgHref : pgHref , action : function ( ) { internalAction ( scope , this . value ) ; } } ) ; } }
Adds a range of numbers to our list
The range is dependent on the start and finish parameters

@param {int} start - The start of the range to add to the paging list
@param {int} finish - The end of the range to add to the paging list
@param {Object} scope - The local directive scope object
Adds a range of numbers to our list The range is dependent on the start and finish parameters