Adding post id option
Post with api and fetching using angular