Support pagination in model side.
Client side pagination draft implementation with angular ui + bootstrap but still not correctly working.