-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AngularJS: Object #<b> has no method 'typeahead' #44
Comments
I'm not sure what's going wrong, but my advice would be not using bstagsinput.js for the moment. I pulled this in by a pull request as an alternative angularjs directive which you could try to use. You should be able to make things works with bootstrat-tagsinput.js and bootstrap-tagsinput-angular.js, look at the examples patcfor working examples. I'm planning on taking out the angularjs directive completely, and moving it to its own repository in the future, to keep thing neat and separated. I will also fix the having-2-directives-issue I created. |
Hi, Looking forward to an update! |
I'm not sure this is related to angular.js. and followed the source from the exemple page
|
Hi
I'm trying to include the bootstrap-tagsinput with typeahead.js in my angularjs app.
This is the order of loading js items:
But i can't get it to work
This is the html I use:
And this is in my controller:
$scope.tags = ['Amsterdam', 'Washington'];
$scope.tagsTypeahead = {
local: ['Sydney', 'Beijing', 'Cairo']
}
So I think I've got everything / more that I need, but I keep getting the error
"TypeError: Object # has no method 'typeahead'"
Any help on how to correctly implement this plugin would be greatly appreciated!
Thanks guys!
The text was updated successfully, but these errors were encountered: