updated div panel heading with angularjs ternary logic to select slide.title else 'Slide ' + slide.id