Re:AngularJS directives for Twitter's bootstrap
by pkozlowski_os on Monday February 11, 2013 @04:52AM
(#5200094)
Just wanted to comment that all the directives from http://angular-ui.github.com/bootstrap/ are native AngularJS directives. They don't require _any_ 3rd party JavaScript dependency (jQuery, bootstrap's JS etc.). Just take Angular, 5kB library (minified, gzipped) and you are ready to go!
On top of this all those directives are fully customizable as (almost) no DOM manipulation happens in directives, markup is extracted to separate templates: https://github.com/angular-ui/bootstrap/tree/master/template
Still, it's neat that no additional JS is required.
This is over 13x less as compared to full jQuery (1.9.x): http://mathiasbynens.be/demo/jquery-size
so at the end of the day this might be a substantial difference.