angularui - make pagination cofigurable