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
'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 %> - ' + |
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
<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"> |
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.module("uploaderComponent", []) | |
.directive "fileupload", -> | |
restrict: "A" | |
scope: | |
done: "&" | |
progress: "&" | |
fail: "&" | |
uploadurl: "=" | |
link: (scope, elem, attrs) -> |
NewerOlder