Skip to content

Instantly share code, notes, and snippets.

View johnzakariasabry's full-sized avatar

John Tadros johnzakariasabry

View GitHub Profile
@johnzakariasabry
johnzakariasabry / app.js
Created October 12, 2017 06:46 — forked from lrvick/app.js
AngularJS credit card form with validation
// MIT: http://opensource.org/licenses/MIT
angular.module('app', []);
angular.module('app').controller
( 'MainCtrl'
, function($scope,$locale) {
$scope.currentYear = new Date().getFullYear()
$scope.currentMonth = new Date().getMonth() + 1
$scope.months = $locale.DATETIME_FORMATS.MONTH