18 lines
378 B
JavaScript
18 lines
378 B
JavaScript
(function() {
|
|
'use strict';
|
|
|
|
window.app.directive('distributionReport',
|
|
function () {
|
|
return {
|
|
scope: {distributionData: "="},
|
|
templateUrl: '/report/template/distributionReport.tmpl.cshtml',
|
|
controller: controller,
|
|
controllerAs: 'vm'
|
|
}
|
|
});
|
|
|
|
function controller($scope) {
|
|
var vm = this;
|
|
vm.distributionData = $scope.distributionData;
|
|
}
|
|
})(); |