Skip to content

Instantly share code, notes, and snippets.

Avatar

Thiago Almeida fasfsfgs

View GitHub Profile
View fileModel.directive.js
(function () {
angular
.module('common')
.directive('fileModel', fileModel);
fileModel.$inject = ['$parse'];
function fileModel($parse) {
var directive = {
restrict: 'A',
link: link