ng-flow-webpack
Version:
Ng-flow package modification for exporting as module
13 lines • 416 B
JavaScript
angular.module('flow.btn', ['flow.init'])
.directive('flowBtn', [function() {
return {
'restrict': 'EA',
'scope': false,
'require': '^flowInit',
'link': function(scope, element, attrs) {
var isDirectory = attrs.hasOwnProperty('flowDirectory');
var isSingleFile = attrs.hasOwnProperty('flowSingleFile');
scope.$flow.assignBrowse(element, isDirectory, isSingleFile);
}
};
}]);