(function () {
    var burnDownChartModule = angular.module("scrum.burnDownChart");

    burnDownChartModule.factory("Chart", ["Restangular", function (rest) {
        return {
            getData: function () {
                return rest.one("api/sprintBacklog/burnDownChartData").get();
            }
        };
    }]);
})();