Move some gantt logic from directive to factory
Bind dateRange from gantt factory with fromDate and toDate from directive