ui-tour
ui-tour copied to clipboard
New Syntax + Drop jquery
Instead, should use something like <a ui-tour="intro">...</a> which would then be used in conjunction with
<ui-tour-steps>
<ui-tour-step name="intro">
<!-- popup html goes here -->
</ui-tour-step>
<ui-tour-step name="features">...</ui-tour-step>
<ui-tour-step name="navigation">...</ui-tour-step>
<ui-tour-steps>
This way we'd simply cache all the elements with ui-tour on them and then look them up by name (instead of using jQuery DOM selectors and target="h1:eq(2)" or other convoluted CSS selectors. In response to #7