In this video we'll use our AngularJS Material Design contact form to gather data, collect that data in our AngularJS Controller, send that data to expressJS, and then use that data to send an outbound email.
Here is our flow:
Step 1: Create an AngularJS form in a view and map it to an AngularJS controller (http://www.bossable.com/1745/angularj...)
Step 2: In your AngularJS controller, use a $http request to send your data to your Express Route
Step 3: Use your ExpressJS Route as an API to call your ExpressJS Controller
Step 4: Send an email containing the data passed through the $http POST
Nodemailer: https://github.com/andris9/Nodemailer
Check out the code used in this video here:
http://www.bossable.com/1910/angularj...
Check out more AngularJS Material Design videos here: http://www.bossable.com
------
Subscribe: http://youtube.com/c/Bossable?sub_con...
Facebook: / 1681997998694376
Google+: https://www.google.com/+Bossable
Twitter: / shristisharma_
About & Contact: http://www.bossable.com/say-hello/