rinogo
rinogo

Reputation: 9163

Can Bootstrap plugins be used with Angular-UI Bootstrap?

I'm considering Angular UI Bootstrap for use in a new project. There are also many standard (non-Angular) Bootstrap plugins that I'd like to consider using.

Will "vanilla" Bootstrap plugins work "out of the box" with Angular-UI Bootstrap? Or, do Angular and jQuery conflict enough to make this a suboptimal combination?

Upvotes: 2

Views: 144

Answers (3)

NattyQ
NattyQ

Reputation: 39

There basically have no conflict about jQuery and Angular but it's not a good style to mix with those two

Upvotes: 0

amanuel2
amanuel2

Reputation: 4646

This would work, but will be very taskly.. Why not use the Angular Bootstrap UI Directives instead?? You will be facing Async issues dealing with $scope.$evalAsync

https://angular-ui.github.io/bootstrap/ ..

And from expierence.. I have faced a lot of issues when jQuery and AngularJS Get combined. I wont reccomend with working on both at the same project.. I would just use the directives..

Upvotes: 1

Austin
Austin

Reputation: 1291

They will generally work, but using the angular way to do things that were previously done well in jQuery is the way to go. You will avoid a lot of issues having angular pick up changes and having to deal with $scope.$apply

Upvotes: 1

Related Questions