Angular works in the browser, not on the server, so you aren't going to be able to use angular to get the generated html going into your email.
But yes, you can post the input data from the input form by using ajax via $http in your controller to asp.net page that simply captures the data, creates a service-side html view and sends it in an email. On Friday, April 18, 2014 9:10:44 AM UTC-6, [email protected] wrote: > > I have an ASP.NET MVC application for which I started using Angular in a > data collection form. > The data must be sent in an HTML-formatted email, and doesn't really need > to be persisted in a database. > > So I was wondering how I could pass the Angular input data to the > ASP.NETcontroller action, or maybe directly to the HTML View file for > emailing. > -- 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.
