Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular UI Bootstrap: *Instead* of bootstrap3's js, or in *addition* to it?

The Github readme is not entirely clear on this point... Are they alternatives, or, meant to work together?

like image 936
bjorke Avatar asked Sep 05 '13 07:09

bjorke


2 Answers

UI Bootstrap is a replacement for the bootstrap JS portion it is clearly stated but not on the main page.

Native AngularJS (Angular) directives for Twitter's Bootstrap. Small footprint (5kB gzipped!), no 3rd party JS dependencies (jQuery, bootstrap JS) required! http://angular-ui.github.io/bootstrap/

https://github.com/angular-ui/bootstrap/tree/gh-pages

like image 64
shaunhusain Avatar answered Nov 20 '22 01:11

shaunhusain


Dean Sofer on the subject: http://deansofer.com/posts/view/20/AngularJS-and-Bootstrap

Think that explains it rather well... And give you insight into "Why" as well...

We have 2 projects: the AngularUI Bootstrap project which is recreating everything in pure AngularJS code, and removes the Bootstrap.js dependency. Then we have the new Angular-Strap which simply wraps the existing Bootstrap.js creating additional dependencies and imposing a fairly opinionated templating scheme.

And some links to the to mentioned projects for completeness:

  • Angular UI Bootstrap: http://angular-ui.github.io/bootstrap/
  • Angular Strap: http://mgcrea.github.io/angular-strap/

What side to agree with is up to you.

like image 38
Jens Avatar answered Nov 19 '22 23:11

Jens