this does not deal with UI, removeSelectedProductProfile, removes productProfile from array of of product profiles and remove... is not used outside app-config-service, i think the confusion of coming from re-using the name i used when it was in controller. this is more or less utility functions related to both app config wizard and edit app config controllers so i had to abstract them out to service so both can use it.