3 ms·
> 10. Try to limit yourself to using jqLite that Angular comes with rather than full jQuery. This isn't really possibly with any reasonable part of Bootstrap
by camus 13y ago
> 10. Try to limit yourself to using jqLite that Angular comes with rather than full jQuery. This isn't really possibly with any reasonable part of Bootstrap however;
unless you are coding all your js widgets from scratch that's not an option , and there is 0 reason to do it. jquery plugins are easy to integrate with angularjs directives , why not use them?
i used taginput, transit, autocomplete, masonry and bootstrap widgets to code this app : http://markme.alwaysdata.net/ http://markme.alwaysdata.net/ ,are you really suggesting people should not use jquery? non sense. Angularjs is made to be used with jquery. Angulajs doesnt provide widgets , jquery + 10000 of plugins do .
- tzaman 13y agoUm,... no. Why would you want full jQuery and load additional X kilobytes of javascript when in reality, Angular enables you to develop same functionality that many jQuery plugins (via directives) with ease, and way less code. It's a bit more work, no argument there, but I end up with more maintainable code, organised as I see fit. Faster and easier debugging, less dependencies and faster load time. And Angular isn't made to be used with jQuery (or not to be used for that matter). In fact, it's advisable to completely remove it in order to fully understand, appreciate and use Angular's internals. Otherwise you're using two huge frameworks (in terms of KB and complexity) and only use small parts of them.