Adding pagination; updating angular to 1.3