bjorke
bjorke

Reputation: 3305

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?

Upvotes: 5

Views: 5047

Answers (2)

Jens
Jens

Reputation: 3412

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:

What side to agree with is up to you.

Upvotes: 4

shaunhusain
shaunhusain

Reputation: 19748

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

Upvotes: 8

Related Questions