DaftMonk / angular-tour

AngularJS directive for giving an interactive tour of your website.
http://daftmonk.github.io/angular-tour/
MIT License
608 stars 137 forks source link

Error: [$compile:ctreq] Controller 'tour', required by directive 'tourtip', can't be found! #51

Open ScottSpittle opened 8 years ago

ScottSpittle commented 8 years ago

Not sure why I would get this.

booleanbetrayal commented 8 years ago

This was briefly an issue, but should be fixed in the latest release: v0.2.5

Can you try that version?

ScottSpittle commented 8 years ago

Sure thing, I'll give it a go on Monday. Thanks.

erickpeirson commented 8 years ago

This is still occurring in v0.2.5.

galshachaf commented 8 years ago

please note that this also occurs at the demo page.

razvanbalosin commented 8 years ago

Any update on this? I just got this error too.. However, it seems to only be happening in IE (IE11 more precisely) Besides the error in console (which indeed is on your demo page as well) the page didn't rendered at all.

<tour step="currentStep">
  <virtual-step
    tourtip-title="Tooltip Title"
    tourtip="Tooltip text here"
    tourtip-placement="top"
    tourtip-element=".walkthrough__step-0"
    tourtip-step="0" /></virtual-step>

    <!-- More Virtual Steps and HTML markup here -->

 </tour>

Edit: It seemed that placing the <tour step=""> directive directly in index.html, wrapping the whole app in it fixed the issue. However it still has some hiccups (ie, openTour doesn't work anymore)