I would like to send my custom HTTP header to the REST service every time I make any request. I am using Apache HTTP Web Server. I have the following code:

```
app.config(['$httpProvider', function($httpProvider){

if(!$httpProvider.defaults.headers.get){
    $httpProvider.defaults.headers.get = {};
}

$httpProvider.defaults.headers.get['My-Token'] = 'some_test_token';
}]);

```

But I see next in the devtools:

[![enter image description here](https://i.stack.imgur.com/qQQTo.png)](https://i.stack.imgur.com/qQQTo.png)

My header inline into other. What am I doing wrong?