renamed angular apps to optionsApp and popupApp