Ignore links without data-slide-index inside slides

This link must scroll to slide:
<a data-slide-index="1" href="">Slide #2</a>

This link must go to URL:
<a href="http://google.com">Google</a>