initializing i18nInit module

This commit is contained in:
Jared Tabor 2017-09-18 16:29:49 -07:00
parent 710aaaa2c8
commit 3b83d6639a
No known key found for this signature in database
GPG Key ID: 1B343EC4C3CF7E5C

View File

@ -171,12 +171,13 @@ angular.module('awApp', [
'CheckLicense', '$location', 'Authorization', 'LoadBasePaths', 'Timer',
'LoadConfig', 'Store', 'pendoService', 'Prompt', 'Rest',
'Wait', 'ProcessErrors', '$state', 'GetBasePath', 'ConfigService',
'FeaturesService', '$filter', 'SocketService', 'AppStrings',
'FeaturesService', '$filter', 'SocketService', 'AppStrings', 'I18NInit',
function($stateExtender, $q, $compile, $cookies, $rootScope, $log, $stateParams,
CheckLicense, $location, Authorization, LoadBasePaths, Timer,
LoadConfig, Store, pendoService, Prompt, Rest, Wait,
ProcessErrors, $state, GetBasePath, ConfigService, FeaturesService,
$filter, SocketService, AppStrings) {
$filter, SocketService, AppStrings, I18NInit) {
I18NInit();
$rootScope.$state = $state;
$rootScope.$state.matches = function(stateName) {
return $state.current.name.search(stateName) > 0;