I am using $http to make an api call which is sending some custom header like X-Foo. However I can\'t yet figure out how to read them. Inside the <
$http
X-Foo
Spring 4.0+ provide @CrossOrigin annotation which has following parameters
example
@CrossOrigin(origins = "*", exposedHeaders ="X-Total-Count")