Extract $mdDialog and $uibModal into dedicated services
Angular Material, Angular Bootstrap and other UI Libraries ship with something that used to be called “Pop Up”. These widgets usually pop up in the center of the screen with a dark backdrop. Material calls it “Dialog” while Bootstrap…