implemented pull post from db with AJAX and display on index page with Angular JS