Skip to content
This repository has been archived by the owner on Aug 6, 2019. It is now read-only.

Calling $('#rootwizard').bootstrapWizard({'tabClass': 'bwizard-steps'}) in a controller layer #213

Open
henriquearaujo opened this issue Apr 5, 2017 · 4 comments

Comments

@henriquearaujo
Copy link

If I have a controller layer in my app, how can I call the $('#rootwizard').bootstrapWizard({'tabClass': 'bwizard-steps'}) ? I've already tried with $scope var and nothing happens.

Another thing is, I'm having a problem with Jquery dependency. The error is: Uncaught ReferenceError: jQuery is not defined at dependencies.js:5970 in the line: onTabShow: null };})(jQuery);

@jabberdog
Copy link

jabberdog commented Apr 5, 2017

How have you incorporated the jQuery dependancy? A JS file with jQuery defined inside?

@henriquearaujo
Copy link
Author

I'm incorporating the "jquery.bootstrap.wizard.js" in my gruntfile.js at "dependencies: { src: ["

@jabberdog
Copy link

jabberdog commented Apr 5, 2017

Knowing this only half of the issue but could you provide a gist or a snippet of your gruntfile so we can see it for ourselves? And also the package.json

@henriquearaujo
Copy link
Author

Thanks jabberdog but we made a simple component with angular js .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants