Andy Jacobs
Posts: 0
Joined: Thu Apr 16, 2015 11:34 am

model is undefined

I'm working through the rest api tutorial and have followed all the steps.

When I enter anything into the search box and click Get it returns the following error in the console:

Error: model is undefined
EntityFactory.prototype.add@http://appery.io/app/view/c7a1d433-08...
EntityFactory.prototype.get@http://appery.io/app/view/c7a1d433-08...
EntityFactory.prototype.get@http://appery.io/app/view/c7a1d433-08...
controller/$scope.get@http://appery.io/app/view/c7a1d433-08...
ib.prototype.functionCall/</n.prototype.$apply@http://appery.io/app/view/c7a1d433-08...
@http://appery.io/app/view/c7a1d433-08...
lf/c@http://appery.io/app/view/c7a1d433-08...

http://appery.io/app/view/c7a1d433-08...
Line 102

Have I missed something?

Andy Jacobs
Posts: 0
Joined: Thu Apr 16, 2015 11:34 am

model is undefined

Why is it you can spend ages looking at a problem and not solve it. Post in a forum and you spot a typo in about 5 seconds!

All working now.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

model is undefined

Hello Andy,

Let us know if we can be of further assistance.

Return to “Issues”