'use strict';
define([
  'angular',

  //'widgets/mapapp/selecttool/directives/selecttoolwidget',
  'widgets/mapapp/selecttoolbypointutilities/directives/toolbarselecttoolbypointutilities',
  'widgets/mapapp/selecttoolbypointutilities/directives/selectedfeaturestree',
  'widgets/mapapp/selecttoolbypointutilities/services/selecttoolbypointutilitiesservice',

  'angular-strap',
  'angular-strap.tpl',

  'angular-route',

  'toastr',
  'ol3js',
  'ng-table',
], function(angular, toolbarselecttoolbypointutilities, selectedfeaturestree, selecttoolbypointutilitiesservice) {
  // generation du module
  var gcselecttoolbypointutilities = angular.module(
    'gc_selecttool_bypointutilities',
    ['mgcrea.ngStrap', 'ngRoute', 'pascalprecht.translate']
  );
  // ajout service

  // ajout controller

  // ajout directive
  // modelwidget.directive('gcmodelwidgetdir',gc_scalelinedirectives);
  // gcselecttool.directive('selecttoolwidget',selecttoolwidget);
  gcselecttoolbypointutilities.directive(
    'toolbarselecttoolbypointutilities',
    toolbarselecttoolbypointutilities
  );
  gcselecttoolbypointutilities.directive(
    'selectedfeaturestree',
    selectedfeaturestree
  );
  // ajout factory
  gcselecttoolbypointutilities.factory('selecttoolbypointutilitiesservice', selecttoolbypointutilitiesservice);

  //route provider

  return gcselecttoolbypointutilities;
});
