angular-gantt
Version:
Gantt chart component for AngularJS
10 lines (9 loc) • 314 B
text/typescript
export default function (GanttDirectiveBuilder) {
'ngInject'
let builder = new GanttDirectiveBuilder('ganttBodyBackground')
builder.controller = function ($scope, $element) {
$scope.gantt.body.background.$element = $element
$scope.gantt.body.background.$scope = $scope
}
return builder.build()
}