Skip to content

Instantly share code, notes, and snippets.

@sk8terboi87
sk8terboi87 / Gruntfile.js
Last active December 26, 2015 04:39
A automated thing + builder script using https://gruntjs.com! Does Coffee to html, Jade to Html Does livereload and compilation of above Finally, Able to build the finally compressed, uglified script for production usage (File mentioned below are just examples... will be fixed sooner ^^")
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: grunt.file.readJSON('build_package.json'),
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
<form class="form-horizontal">
<fieldset>
<legend>Lets upload something... (Along with some other data)</legend>
<div class="control-group">
<label class="control-label" for="firstName">Firstname</label>
<div class="controls">
<input type="text" id="firstName" ng-model='firstname' placeholder="Type your firstname">
</div>
</div>
<div class="control-group">
angular.module("uploaderComponent", [])
.directive "fileupload", ->
restrict: "A"
scope:
done: "&"
progress: "&"
fail: "&"
uploadurl: "="
link: (scope, elem, attrs) ->