Re:AngularJS directives for Twitter's bootstrap
by lukifer on Monday February 11, 2013 @07:26AM
(#5200439)
Am I missing something? Angular contains its own "jQuery Lite", and appears to be about 30kb gzipped.
Still, it's neat that no additional JS is required.
Re:AngularJS directives for Twitter's bootstrap
by pkozlowski_os on Monday February 11, 2013 @07:35AM
(#5200466)
Actually jqLite has 2.36kB when minified / gzipped, check this for more details: https://plus.google.com/104744871076396904202/posts/EgjErc6N...
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.
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