Skip to content

gengen1988/angular-form-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

angular-form-util

Use AngularJs control form submit, with POST method and page forwarding.

Installation

npm install git+https://github.com/gengen1988/angular-form-util.git

Usage

angular.module('app', ['form-util'])
  .controller('Controller', Controller);

function Controller($scope, post) {

  $scope.submit = function(data) {
    post('http://www.google.com', data);
  }

}

About

to mock weird Ajax

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published