Skip to content

Instantly share code, notes, and snippets.

View mandeepm91's full-sized avatar

Mandeep Singh Gulati mandeepm91

View GitHub Profile
@mandeepm91
mandeepm91 / app.js
Created August 6, 2016 09:58 — forked from rnkoaa/app.js
A simple angularjs with angular-ui modal form which includes validation on the client side. Thanks http://scotch.io/tutorials/javascript/angularjs-form-validation
var app = angular.module("modalFormApp", ['ui.bootstrap']);
app.controller("modalAccountFormController", ['$scope', '$modal', '$log',
function ($scope, $modal, $log) {
$scope.showForm = function () {
$scope.message = "Show Form Button Clicked";
console.log($scope.message);
var modalInstance = $modal.open({