Dynamic master detail layout on tablet devices powered by ionicframework