@Portlet
@Application(name = "TicketChartsController")
@Bindings({
        @Binding(value = TicketStatusFlowService.class),
        @Binding(value = TopicDAO.class),
        @Binding(value = StatsService.class),
        @Binding(value = LogDAO.class),
        @Binding(value = CSSpaceService.class)})
@Scripts({
    @Script(id = "jQueryUI", value = "js/lib/jquery-ui.js"),
    // AngularJS is still global, should be AMDified
    @Script(id = "angularjs", value = "js/lib/angular.min.js"),
    @Script(id = "ngSanitize", value = "js/lib/angular-sanitize.js", depends = "angularjs"),
    @Script(id = "ng-google-chart", value = "js/lib/ng-google-chart.js", depends = "angularjs"),
        @Script(id = "angular-animate", value = "js/lib/angular-animate.min.js", depends = "angularjs"),
        @Script(id = "angular-aria", value = "js/lib/angular-aria.min.js", depends = "angularjs"),
        @Script(id = "angular-messages", value = "js/lib/angular-messages.min.js", depends = "angularjs"),
        @Script(id = "angular-material", value = "js/lib/angular-material.min.js", depends = { "angularjs" , "angular-animate", "angular-messages", "angular-aria"}),
        @Script(id = "md-date-range-picker", value = "js/lib/md-date-range-picker.js", depends = { "angularjs" , "angular-material"}),
    // services and controllers js are AMD modules, required by controllers.js
    @Script(id = "controllers", value = "js/controllers.js", depends = { "angularjs" , "ng-google-chart"}),
    @Script(id = "ticketchartsAddon", value = "js/ticket-charts.js", depends = { "controllers","jQueryUI" }) })

@Stylesheets({
        @Stylesheet(id = "rangeDatePickerSkin", value = "style/md-date-range-picker.css") ,
        @Stylesheet(id = "materialSkin", value = "style/angular-material.min.css") ,
        @Stylesheet(id = "jQueryUISkin", value = "style/jquery-ui.css") ,
        @Stylesheet(id = "nps-charts", value = "style/ticket-charts.css") })

@Assets("*")
package org.exoplatform.cs.portlet.ticketCharts;

import juzu.Application;
import juzu.plugin.asset.Assets;
import juzu.plugin.asset.Script;
import juzu.plugin.asset.Scripts;
import juzu.plugin.asset.Stylesheet;
import juzu.plugin.asset.Stylesheets;
import juzu.plugin.binding.Binding;
import juzu.plugin.binding.Bindings;
import juzu.plugin.portlet.Portlet;


import org.exoplatform.cs.dao.LogDAO;
import org.exoplatform.cs.dao.TopicDAO;
import org.exoplatform.cs.service.CSSpaceService;
import org.exoplatform.cs.service.StatsService;
import org.exoplatform.cs.service.TicketService;
import org.exoplatform.cs.service.tickets.TicketStatusFlowService;


