export function config ($locationProvider, $logProvider, toastrConfig) {
  'ngInject';
  // Enable log
  $logProvider.debugEnabled(false);

  // Set options third-party lib
  toastrConfig.allowHtml = true;
  toastrConfig.timeOut = 3000;
  toastrConfig.positionClass = 'toast-top-right';
  toastrConfig.preventDuplicates = true;
  toastrConfig.progressBar = true;

  $locationProvider.html5Mode(true);
}
