AngularJS infinite Scroll integrated with wordpress JSON-API