using angluarjs to render posts list