|
@@ -1,15 +1,18 @@
|
|
import { bootstrap, module } from 'angular';
|
|
import { bootstrap, module } from 'angular';
|
|
-import uiRouter from 'angular-ui-router';
|
|
|
|
import peopleSearchModule from './peoplesearch/peoplesearch.module';
|
|
import peopleSearchModule from './peoplesearch/peoplesearch.module';
|
|
-import routes from './routes';
|
|
|
|
import PeopleService from './services/people.service.dev';
|
|
import PeopleService from './services/people.service.dev';
|
|
|
|
+import routes from './routes';
|
|
|
|
+import translations from './translations';
|
|
|
|
+import uiRouter from 'angular-ui-router';
|
|
|
|
|
|
module('app', [
|
|
module('app', [
|
|
uiRouter,
|
|
uiRouter,
|
|
peopleSearchModule,
|
|
peopleSearchModule,
|
|
|
|
+ 'pascalprecht.translate'
|
|
])
|
|
])
|
|
|
|
|
|
.config(routes)
|
|
.config(routes)
|
|
|
|
+ .config(translations)
|
|
.service('PeopleService', PeopleService);
|
|
.service('PeopleService', PeopleService);
|
|
|
|
|
|
// Attach to the page document
|
|
// Attach to the page document
|