Posts by stromdh • 13 points
3 posts
-
-4
votes5
answers14658
viewsA: How to validate date taking into account leap year?
if ((ano % 4 == 0) && ((ano % 100 != 0) || (ano % 400 == 0))
-
2
votes1
answer250
viewsA: Angular: Module name is not loaded in the ngApp html tag
Dude, it blew up because you put module, and it’s module. tries to do so: angular.module('MeuModulo', ['ngRoute']); angular.module('MeuModulo').controller('MeuController',funcion($scope, $http)…
-
0
votes3
answers834
viewsQ: sending email with nodemailer
I am making an application with Angularjs and have a contact form with name, email, phone and message. I need the contents of this form to go to the client’s email and I’m trying to use the…