Blame view

app/partials/forms/forms.controller.js 446 Bytes
feacde5ff   Rishav   setup acuefuel in...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  'use strict';
  
   //Load controller
    angular.module('acufuel')
  
  	.controller('formsController', ['$scope',function($scope) {
  
        $scope.test = "Testing...";
  
      }]);
  
  $(function () {
           
           	// Validate the form on load
           	//$('#validation-form').submit ();
           
           	// Block the form from submitting
           	$('form').submit (function (e) {
           		e.preventDefault ();
           	});
           
           });