Greetings, I have hit a wall after trying all kind of ways to have a page that has a header and then when user clicks on one header, the details of that header populate below it. The way I had was
<tr ng-repeat="h in vm.rmaheaders " ng-click="getRepairData(h.serialnumber, h.repairnumber);"> <td>{{h.serialnumber }}</td> <td>{{h.fromcompany }}</td> <td>{{h.tocompany }}</td> <td>{{h.rmanumber }}</td> </tr> My question is is when calling my data service which one should I used $http.get or $http.post passing in two parameters? And how would it look like using one or the other? return $http.get('/api/repaidata/' + serialnumber + '/' + rmanumber) return $http.post('/api/repaidata/', data) Thanks!! -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.