UploadFile.Module.js 392 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
'use strict'
angular.module('myHR')
.directive('uploadFile', function(){
  return {
    restrict: 'E',
    scope: {
      filetype: '@type',
      fileobj: '=obj',
      filepath: '@path',
      filewidth: '@width',
      fileheight: '@height',
      delchange: '@delChange'
    },
    controller: 'UploadFile',
    templateUrl: '../uploadfile.html',
    link: function($scope){
    }
  }
})