Overview
Once the data from a form has been submitted, it needs to be submitted to some server to collect and save the results. This can be done using the $url service.
$url({
url:'https://server.com/add-data-record/',
data:data
});
$url({
url:'https://server.com/add-data-record/',
data:data
});