fix customPaging to not be "undefined" when it is not set in directive params