Skip to content

Instantly share code, notes, and snippets.

@qetr1ck-op
Created February 6, 2017 22:47
Show Gist options
  • Save qetr1ck-op/a4003aae4326324dae56760e90a8fc43 to your computer and use it in GitHub Desktop.
Save qetr1ck-op/a4003aae4326324dae56760e90a8fc43 to your computer and use it in GitHub Desktop.
/* Vendor */
import ngMessages 'angular-messages';
import ngAnimate 'angular-animate';
import uiMessages 'angular-ui-mask/dist/mask';
import ngGA from 'angular-google-analytics';
import uiRoute from 'angular-ui-router';
import 'ui-router-extras/release/modular/ct-ui-router-extras.core.js';
import 'ui-router-extras/release/modular/ct-ui-router-extras.transition.js';
import 'ui-router-extras/release/modular/ct-ui-router-extras.previous.js';
/* Common */
import vvOauth from '../common/services/oauth/oauth.module';
import vvL10n from '../common/services/localization/l10n.module';
import vvRedirect from '../common/components/redirect/redirect.module';
import vvRouting from '../common/services/routing/routing.module';
import vvRestApi from '../common/services/rest-api/rest-api.module';
import vvCommonConstants from '../common/constants/constants';
import analyticsProvider from '../common/configs/shared/analytics-google.config';
/* Current */
import vvAccountComponents from './components/account.components';
import vvAccountServices from './services/account-services';
import vvAccountFilters from './filters/account-filters';
import { routeConfig } from './configs/account-routing.config';
import {
compileConfig, googleAnalyticsConfig, oAuthConfig, navigationErrorConfig, httpConfig,
i18nConfig, locationConfig, resourceConfig, accountRun
} from './configs/account.config';
angular.module('vv.user', [
uiRoute,
'ct.ui.router.extras.previous',
'viovendi.account.templates',
ngMessages
ngAnimate
uiMessages,
ngGA,
vvRouting,
vvL10n,
vvRestApi,
vvAccountComponents,
vvRedirect,
vvOauth,
vvAccountServices,
vvAccountFilters,
vvCommonConstants
])
.config(oAuthConfig)
.config(navigationErrorConfig)
.config(httpConfig)
.config(compileConfig)
.config(routeConfig)
.config(analyticsProvider)
.config(googleAnalyticsConfig)
.config(i18nConfig)
.config(locationConfig)
.config(resourceConfig)
.run(accountRun);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment