upgrade angular and do server side pagination