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.

Sanket Sahu
  • 8,468
  • 10
  • 51
  • 65
  • Adding cross-link to another [AngularUI Bootstrap vs AngularStrap](http://stackoverflow.com/questions/22097971/angular-ui-vs-angular-strap) question to update "linked"/"related" sections. – Oleg Estekhin Aug 14 '14 at 10:32
  • 8
    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 ;) – Cosmin Jan 28 '15 at 23:14

1 Answers1

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.

remigio
  • 4,101
  • 1
  • 26
  • 28
  • 13
    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. – Josh David Miller Mar 06 '13 at 18:07
  • 1
    Could you clarify by what you mean they are differning in philosophy. Im new to javascript. The functionality looked more or less same. – smk Apr 30 '13 at 17:09
  • 25
    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. – checketts Jul 15 '13 at 19:46
  • 24
    The latest version of AngularStrap (v2) does not require JQuery o Bootstrap's JS. – Newbie Jan 17 '14 at 18:50
  • 9
    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. – Øystein Amundsen Apr 16 '14 at 17:47
  • 2
    See this discussion re status of these two projects: https://github.com/angular-widgets/angular-bootstrap/issues/25 – thorn0 May 06 '14 at 01:11
  • So what does using one of these options solve? What about using native Bootstrap with AngularJS? – Kode Dec 09 '14 at 19:11