Add angular code to display posts and comments