All we need is an easy explanation of the problem, so here it is.
This is a conceptual question. I am considering adding AngularJS to my next project, for which I’ve already elected using Twitter Bootstrap 3 for UI controls. I see some possible friction in other stackoverflow questions, between the two frameworks, but am not quite sure what is the root reason for possible incompatibilities between the two.
They both listen to events, but bootstrap is mainly a front-end display library, whereas in my view, angular.js goes much deeper. Perhaps someone can fundamentally explain where the incompatibilities begin to arise. Hopefully in a way directly lending to determine how much it’s a good idea to mix the two in the same project, or what should be avoided if doing so. This would save huge amounts of time learning through debug after it’s too late, or avoiding the wrong architecture in the first place.
How to solve :
I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.
I’d say most bootstrap plugins can be made into directives, just like Angular-strap have done. But that can be a lot of work. Some common ones (like growl) are also available as stand-alone angular projects on Github.
Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂