Hi, 
Thanks for the help, it's solved :) 
First I removed HTTP_BINDINGS
then I got an error saying this.http.get(...).map is not a function in 
[null] 
<https://www.google.com/search?q=this.http.get(...).map+is+not+a+function+in+%5Bnull%5D>

I googled it, and it turned out I had to change the path to rxjs/map
from  'rxjs/operator/map';
to 'rxjs/add/operator/map';

I find it quite confusing though, + hard to find documentation about it. 

Regards
Magnus


Den tisdag 15 december 2015 kl. 17:00:42 UTC+1 skrev Eric Martinez:
>
> Magnus,
>
>
> you'll have to provide more code, a repro in plnkr would be awesome. It's 
> impossible to say. You should be using HTTP_PROVIDERS by the way, 
> HTTP_BINDINGS is deprecated, don't import both of them. Besides that your 
> problem is not in your Service class, it must be in another part of your 
> app, that's why we need a repro.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to