fixed ionic details controller and use config file to decide which partials to use from common and which are domain specific