I have no sample code off-hand, but take a look at the Http class <https://angular.io/docs/ts/latest/api/http/index/Http-class.html>, which can be used as the basis for you to create a FormSubmit service for your API. You would use it very similar to how you would use $.ajax but instead of a callback or Promise, it uses an Observable.
On Tue, Jul 5, 2016 at 3:56 PM, Don <[email protected]> wrote: > Mainly for SPA, to get form processing status back to the app. > > On Tuesday, July 5, 2016 at 3:11:26 PM UTC-4, Don wrote: >> >> Hi, >> >> AngularJS newbie here. Two way data binding and DOM manipulation of >> AngularJS is very impressive. And I'd love to see some working sample code >> for passing FORM data to a server side script (to be more accurate, a FORM >> processing URL). >> >> Thanks. >> > -- > 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 https://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- Lucas Lacroix Computer Scientist System Technology Division, MEDITECH <http://ehr.meditech.com> 781-774-2293 -- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
