mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
21 lines
698 B
CoffeeScript
21 lines
698 B
CoffeeScript
angular.module("Darkswarm", [
|
|
'ngResource',
|
|
'mm.foundation',
|
|
'infinite-scroll',
|
|
'angular-flash.service',
|
|
'templates',
|
|
'ngSanitize',
|
|
'ngAnimate',
|
|
'uiGmapgoogle-maps',
|
|
'duScroll',
|
|
'angularFileUpload',
|
|
'angularSlideables',
|
|
'OFNShared'
|
|
]).config ($httpProvider, $tooltipProvider, $locationProvider, $anchorScrollProvider, $qProvider) ->
|
|
$httpProvider.defaults.headers['common']['X-Requested-With'] = 'XMLHttpRequest'
|
|
$httpProvider.defaults.headers.common['Accept'] = "application/json, text/javascript, */*"
|
|
$locationProvider.hashPrefix('')
|
|
$qProvider.errorOnUnhandledRejections(false)
|
|
# We manually handle our scrolling
|
|
$anchorScrollProvider.disableAutoScrolling()
|