Page 1 of 1

model is undefined

Posted: Fri Jun 19, 2015 1:08 pm
by Andy Jacobs

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?


model is undefined

Posted: Fri Jun 19, 2015 2:21 pm
by Andy Jacobs

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.


model is undefined

Posted: Fri Jun 19, 2015 7:00 pm
by Serhii Kulibaba

Hello Andy,

Let us know if we can be of further assistance.