Greetings,
>From my UI/View I make the following calls when for example a button is
pressed. ng-click="AddResource(this)"
The payload coming through is huge and fat.
<td id="vendorresource" ><select ng-model="vendorresource"
id="{{resource.resourcegroupid}}
| orderBy:'resourcegroupsalaraygrade'"
ng-options="resource.resourcegroupsalaraygrade for resource in
vm.resources" required></select><input ng-model="internalresourcecount"
style="width: 50px;" type="number" required>
<button type="submit" class="icon-plus" class="btn btn-primary" ng-click=
"AddResource(this)">+</button>
</td>
How can I make it so that it is thin and focused instead of sending all
kind of junk and then filtering it down by
doing stuff like
$scope.AddResource = function(data){
resourcegroupid = data.resourcegroupid
}
Thanks much!
AgularJs
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.