Rendering posts on home page using angularjs and zurb foundation template