I'm clueless about this issue that's happening to me. Any page I go into I'm getting this error in my js console:

```
Possibly unhandled rejection: {"reason":"unauthorized","errors":["No credentials"]}

```

I recently installed Devise-token-auth and Ng-token-auth (which I have really bad time lol) to handle authentication. But I cannot find what I did wrong, I supposed is something about my ruby configuration. Does anyone know what could it be?

I know is not too much of imformation, but I'm complety lost. Let me know if you need something else.

EDIT: That error shows up because I haven't log in to my api... but in my site there are a few places where the user doesn't need to be log in. How can I handle this behaivor? (exaple: in my sign in page, shouldn't be expected to the user to be already log in...)