Skip to content

Support input[type="file"] with ng-model and transparently submit with HTML5 FormData

License

Notifications You must be signed in to change notification settings

IOH/ng-form-data

This branch is up to date with ninapratiwi/ng-form-data:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dfc7c5c · May 23, 2014

History

25 Commits
May 23, 2014
Mar 23, 2014
May 23, 2014
Apr 14, 2014
Apr 14, 2014
May 23, 2014
Mar 14, 2014
Apr 6, 2014
May 23, 2014
Mar 14, 2014
Apr 14, 2014
Feb 27, 2014
Apr 14, 2014
May 23, 2014
Feb 27, 2014
Apr 20, 2014
Apr 14, 2014
Feb 27, 2014
Mar 14, 2014
Mar 14, 2014
May 23, 2014

Repository files navigation

ng-form-data Travis CI Quality Coverage Dependencies

Distributed via

Version Bower version

Support input[type="file"] with ng-model and transparently submit with HTML5 FormData

Project philosophy

Develop in LiveScript

LiveScript is a compile-to-js language, which provides us more robust way to write JavaScript.
It also has great readibility and lots of syntax sugar just like you're writting python/ruby.

Installation

Just use it

Then include them through script tag in your HTML.

Rails projects (Only support 3.1+)

Add this line to your application's Gemfile:

gem 'ng-form-data'

And then execute:

$ bundle

Then add these lines to the top of your app/assets/javascripts/application.js file:

//= require angular
//= require ng-form-data

And include in your angular module definition:

var module = angular.module('my-awesome-project', ['tomchentw.boilerplate']).

Usage

Contributing

devDependency Status

  1. Fork it ( https://github.com/tomchentw/ng-form-data/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Support input[type="file"] with ng-model and transparently submit with HTML5 FormData

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • LiveScript 48.9%
  • JavaScript 28.9%
  • Makefile 8.9%
  • CSS 7.1%
  • Ruby 6.2%