# Binding to Models

The [Kendo UI for Angular Gantt](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/installation/getting-started) provides interfaces for configuring the task models fields and the dependency models fields.

## Task Model Fields

By default, the Gantt accepts an array of [`GanttTask`](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/api/gantttask) objects as data. To bind the component to custom objects, bind a model field map to the [`taskModelFields`](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/api/gantttaskmodelfields) property.

The following example demonstrates how to bind the Gantt to custom task objects by providing a field mapping via the `taskModelFields` property.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/gantt/data-binding/models/tasks/source.txt)

## Dependency Model Fields

By default, the Gantt accepts an array of [`GanttDependency`](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/api/ganttdependency#) objects as [`dependencies`](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/api/ganttcomponent) data. To bind the component to custom objects, bind a model field map to the [`dependencyModelFields`](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/api/ganttdependencymodelfields) property.

The following example demonstrates how to bind the Gantt to custom dependency objects by providing a field mapping via the `dependencyModelFields` property.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/gantt/data-binding/models/dependencies/source.txt)

## Suggested Links

* [Data Binding Basics](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/data-binding/basics)
* [Binding to Remote Data](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/data-binding/remote)
* [API Reference of the GanttComponent](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/api/ganttcomponent)
