I built a REST api with GET, POST, PUT, DELETE for the angularjs single page application . Now my client wants to host REST api in separate domain and angularjs single page application in another domain. Here at development both angularjs application and REST api in same domain but if i move REST api to another domain my calls to REST api from angularjs application comes under cross domain requests, I tried with JSONP for call requests but only get requests are working and POST, PUT, DELETE requests are not working.
How do i solve this problem to make POST, PUT, DELETE requests with REST api that is in different domain.