hi :

I am a beginner of AngularJS. I want to write a basic sample using RESTful 
api. I made a robotsUpdate.html, and try satisfy the following requirements:

   1. when page load, try to fill in the 5 fields 
   (id,name,description,type,year) with the corresponding value when the id=6 
   (line#10)
   2. when the field(s) get updated, and press the Add button, which will 
   trigger function add(). then will call to the put api (line#22)

I understand some of my code could look funny. However, after I tried to 
read over a lot of sample or videos. I am still very confused. Can you tell 
me how I should correct my source code?

Thank you very much!

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
  • {{ error}}
  • {{ msg}}

Add Form

<<attachment: index.php>>

Reply via email to