Get Started

Install Automatically

Install using CDNs

  1. You can find released version on CDNs.



    CDNjs (Replace <version> with latest github tag)

  2. Add angular-gantt.min.js and angular-gantt.min.css URLs to your HTML code.

      <link rel="stylesheet" href="//"/>
      <script src="//"></script>

Install Manually

  1. Install dependencies in your application.

  2. Download angular-gantt or use CDNs. Latest released version is available to download on Github and is the recommended and stable version.

    Master branch version contains bleeding edge features, but may be very unstable.

  3. Copy angular-gantt.js and angular-gantt.css located in dist directory to your application source folder.

  4. Add angular-gantt.js and angular-gantt.css files to your HTML code.

      <link rel="stylesheet" href="dist/angular-gantt.css"/>
      <script src="../dist/angular-gantt.js"></script>


  1. Register gantt in your application dependencies.

    var myApp = angular.module('myApp', ['gantt']);
  2. Put gantt directive into your HTML code at the position you would like to show the Gantt chart.

    <div gantt data=data></div>
  3. Define data variable in your scope to start using gantt through two-way binding.

    $ = [
        {name: 'row1', tasks: [
            {name: 'task1', from: <date>, to: <date>},
            {name: 'task2', from: <date>, to: <date>}
        {name: 'row2', tasks: [
            {name: 'task3', from: <date>, to: <date>},
            {name: 'task4', from: <date>, to: <date>}
  4. [Optional] You can load plugins like table to display row names on left side, movable to make tasks movable and resizable with mouse and touch events, and tooltips to enable tooltips on mouse over.

    var myApp = angular.module('myApp', ['gantt', 'gantt.table', 'gantt.movable', 'gantt.tooltips']);
    <div gantt data=data>
  5. For a sample app see the files in demo or Plunker.