/file-upload

upload files

Primary LanguageJavaScript

color-code

This directive allows you to add colors to your various table data.

Requirements

Prerequisite

  1. Install Karma, Grunt and Bower $ npm install -g karma grunt-cli bower
  2. Install development dependencies $ npm install
  3. Install components $ bower install

Testing

**WIP

Installation

$ bower install andela-ogaruba/file-upload

If you use a bower.json file in your project, you can have Bower save andela-ogaruba/file-upload as a dependency by passing the --save or --save-dev flag with the above command.

This will copy the andela-ogaruba/file-upload files into your bower_components folder, along with its dependencies. Load the script files in your application:

<script type="text/javascript" src="bower_components/angular/angular.js"></script> <script type="text/javascript" src="bower_components/table-color/js/file-upload.js"></script>


```javascript
var myAppModule = angular.module('MyApp', ['uploadFile']);

Apply the directive to your form elements: