Adding api and a simple angular post fetch