If I put the following url in the browser:

<https://www.googleapis.com/youtube/v3/search?part=snippet&q=algebra&key=>{My\_API\_KEY}

it works fine, however, when I try and use angular to get this, I get an unauthorized error:

```
$http.get("https://www.googleapis.com/youtube/v3/search?part=snippet&q=algebra&key={MY_API_KEY}");

```

Also, my key is set to "Any referer allowed".

Why does this work one way, but not the other?