0

I'm trying to call a (working) web api using angularjs2. But it says 'Collection not found'. It seems straightforward but still doesn't work. Please tell me what I am doing wrong here.

1 Answers1

0

Are you is the InMemoryDataService? If so, try commenting it out.

I had a similar issue calling my WebAPI. In the end I had to comment out the InMemoryDataService - as soon as I did this then the error went away and I was able to hit my WebAPI: AngularJS 2 : Getting data from json file not working

Community
  • 1
  • 1
Rodney
  • 5,417
  • 7
  • 54
  • 98