CORS filter issue resolved.

Added content-type header to the filter and now angularJS client works
as expected