work on pagination bindings for grid directive