import app from '../app'
import moment from 'moment'

app.config(['RestangularProvider', (RestangularProvider) => {
  RestangularProvider.setBaseUrl('.');
}])

app.config(function(toastrConfig) {
  angular.extend(toastrConfig, {
    extendedTimeOut: 5000,
  });
});

app.constant('JQ_CONFIG', {
  dataTable: [   
    '../bower_components/datatables/media/js/jquery.dataTables.min.js',
    '../bower_components/plugins/integration/bootstrap/3/dataTables.bootstrap.js','../bower_components/plugins/integration/bootstrap/3/dataTables.bootstrap.css'
  ]
})

app.value('uiJqConfig', {})
