UNPKG

angular-gantt

Version:

Gantt chart component for AngularJS

13 lines (11 loc) 399 B
(function(){ 'use strict'; angular.module('gantt').directive('ganttHeader', ['GanttDirectiveBuilder', function(Builder) { var builder = new Builder('ganttHeader'); builder.controller = function($scope, $element) { $scope.gantt.header.$element = $element; $scope.gantt.header.$scope = $scope; }; return builder.build(); }]); }());