Which one to use, AngularUI Bootstrap or AngularStrap? [closed]
Asked Answered
U

1

47

I am a novice to AngularJS and its amazing. I need Twitter's bootstrap plugins in my projects. I stumbled upon these two GitHub projects

  1. AngularStrap http://mgcrea.github.com/angular-strap/
  2. And AngularUI's bootstrap http://angular-ui.github.com/bootstrap/

Now, I am confused which one to choose. Are these production ready? or should I use the jQuery extensions which comes with Bootstrap.

Umbrian answered 6/3, 2013 at 6:12 Comment(2)
Adding cross-link to another AngularUI Bootstrap vs AngularStrap question to update "linked"/"related" sections.Obverse
how is this not constructive? I find it a bit odd, that the creator of one of the two libraries under comparison, would vote to stop the comparison ;)Distich
P
24

Both projects aim at including Twitter's bootstrap widgets as AngularJS directives, so you can use them in a clean way. Since none of them cover the complete list of Bootstrap elements, you can use which ever you need, depending on the Bootstrap element you wish to include in your project. I'm currently including both and so far there are no issues at all.

Prosecution answered 6/3, 2013 at 8:36 Comment(7)
These two projects have strongly diverging and mutually-exclusive philosophies, so it is not a good idea to use them side-by-side. It is only a matter of time until there is a fatal collision.Taeniafuge
Could you clarify by what you mean they are differning in philosophy. Im new to javascript. The functionality looked more or less same.Fanciful
Angular Strap reuses JQuery and Bootstrap's JS so it requires that code, soe there is extra code to 'translate' between the layers. AngularUI rewrites the bootstrap components using only Angular. So angular Strap is 'feature complete' since it is just wrapping bootstrap, but AngularUI is not totally feature complete since it is still rewriting components. AngularUI uses less dependencies.Cherub
The latest version of AngularStrap (v2) does not require JQuery o Bootstrap's JS.Gadolinite
To add to the last comment, the latest version of AngularStrap also collides with AngularUI Bootstrap (on $tooltip), and cannot be included side-by-side.Porcine
See this discussion re status of these two projects: github.com/angular-widgets/angular-bootstrap/issues/25Pitt
So what does using one of these options solve? What about using native Bootstrap with AngularJS?Chorion

© 2022 - 2024 — McMap. All rights reserved.