var dependencies = ["commonsApp","searchCompanyApp"]; if(currentPage!='index'){ dependencies.push('searchApp'); } var pagelessOnboardingApp = angular.module("pagelessOnboardingApp", dependencies); pagelessOnboardingApp.constant("pagelessOnboardingConstants",{ response: { 'SUCCESS_STRING' : '1', 'INFORMATION_STRING' : '2', 'AUTO_LOGIN_SUCCESS_STRING' : "5", 'EVENT' : 'SIGNIN_REQ', }, ownership : { 'INVESTMENT_COMPANY' : 'Investment Company', 'GOVERMENT' : 'Government', 'NGO_NPO': 'NGO/NPO/NFP/Organization/Association' }, mixpanelUtil : { mixpanel_property : { 'PROVIDE_EMPLOYER' : 'Provide Employer', 'EMPLOYER_PROVIDED' : 'Employer Provided', 'LOCATION' : 'Location', 'LANDING_PAGE': 'Landing Page', 'HP_ONBOARDING_STEP1_STARTED': 'HP Onboarding V4 Step 1 Started', 'HP_ONBOARDING_STEP1_COMPLETED': 'HP Onboarding V4 Step 1 Completed', 'HP_ONBOARDING_STEP2_STARTED': 'HP Onboarding V4 Step 2 Started', 'HP_ONBOARDING_STEP2_COMPLETED': 'HP Onboarding V4 Step 2 Completed', 'POPUP_ONBOARDING_STEP2_STARTED': 'Pop Up Onboarding V5 Step 2 Started', 'POPUP_ONBOARDING_STEP2_COMPLETED': 'Pop Up Onboarding V5 Step 2 Completed', 'POPUP_ONBOARDING_STEP3_STARTED': 'Pop Up Onboarding V5 Step 3 Started', 'POPUP_ONBOARDING_STEP3_COMPLETED': 'Pop Up Onboarding V5 Step 3 Completed', "SIGNUP_FORM_ORIGIN" : 'SingUp Form' } }, ga_property: { 'HIT_TYPE_EVENT' : 'event', 'CONVERSION_REG' : 'Conversion Registration', 'VIA_EMAIL' : 'Via Email', 'CONVERSION_GA' : 'conversionGA' }, error_messages:{ 'ACCEPT_TERMS_OF_USE':'Please accept our terms of use' } });