Last active
August 29, 2015 13:59
-
-
Save darthwade/28806783bc5189a4ec43 to your computer and use it in GitHub Desktop.
JS Module Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Angular Fine Uploader | |
* @version 0.1.0 | |
* @homepage https://github.com/darthwade/angular-fine-uploader | |
* @author Vadym Petrychenko https://github.com/darthwade | |
* @license The MIT License (http://www.opensource.org/licenses/mit-license.php) | |
* @copyright 2014 Vadym Petrychenko | |
*/ | |
(function (factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD | |
define(['angular'], factory); | |
} else if (typeof exports === 'object') { | |
// CommonJS | |
factory(require('angular')); | |
} else { | |
// Browser globals | |
factory(window.angular); | |
} | |
}(function (angular) { | |
'use strict'; | |
angular.module('darthwade.fineUploader', []) | |
.provider('$fineUploader', function () { | |
}); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment