4 ms·
We use the semi-official angular ui bootstrap library (http://angular-ui.github.io/bootstrap/ http://angular-ui.github.io/bootstrap/) Out of curiosity what doe
by cmicali 13y ago
We use the semi-official angular ui bootstrap library (http://angular-ui.github.io/bootstrap/ http://angular-ui.github.io/bootstrap/)
Out of curiosity what does this give you over that?
- baggachipz 13y agoModals seem to be much more streamlined. I'm curious what others think here.
- CoffeeDregs 13y agoAgreed. The modals in Angular-UI (which I use) don't seem very AngularJS-ish: the Modal controller creates the ModalInstance controller? I googled for a bit to make sure that I really had to create two controllers in order to manage one dialog. Also, $scope management in AngularUI-Bootstrap dialogs seems a bit wonky.
- badman_ting 13y agoI found that confusing as well.
- websirnik 13y agoThey are semi-competitive projects. At some point there were talks of combining 2 projects into one under https://github.com/angular-widgets https://github.com/angular-widgets . But guys have failed to agree on core architectural decisions. Personally, I've started with with UI-Bootstrap, but then started to migrate certain components on Angular-Strap. The reasons was that some components like popover with template support were more functional in Angular-Strap. Also https://github.com/mgcrea/bootstrap-additions https://github.com/mgcrea/bootstrap-additions & https://github.com/mgcrea/angular-motion https://github.com/mgcrea/angular-motion are nice side-benefits. UI-Bootstrap development is not as active as it used to be.
- DCKing 13y agoWe use Bootstrap UI as well. We found out that one thing AngularStrap does is allow for (inline) templating in tooltip content, and Bootstrap UI doesn't.
- Bahamut 13y agoThis requires you to use jQuery and the Bootstrap scripts, whereas UI Bootstrap does not require those at all, thus allowing you to go leaner. The code for UI Bootstrap is architected much better than Angularstrap in general. I usually recommend against using Angularstrap and just using UI Bootstrap.
- olouv 13y agoThat's not true: "With no external dependency except the Twitter Bootstrap CSS styles, AngularStrap is lighter and faster than ever as it does leverage the power of ngAnimate from AngularJS 1.2+!". Please do read the docs.
- Bahamut 13y agoHuh, that must've changed recently then. It certainly was not true for a long time. But aside from that, I usually don't recommend it in part because I have heard that a lot of effort was expended in trying to reach out to mcgrea to put forth a joint community effort in maintaining a singular project, but mcgrea wasn't really interested in doing so, wanting to maintain total control in many respects. The codebase certainly suffered from that decision for a long time (and for a long time it wasn't well maintained either - not sure about its current state).
- venuzr 13y ago"have heard"? This sounds like FUD to me. For the record, I am using Angular UI bootstrap but am thinking of switching mainly because a) It doesn't look like it is being actively maintained b) The animation used in AngularStrap demos make it look quite slick c) The port looks straightforward
- olouv 13y agoThat's not true either, I (mgcrea) was more than happy to merge efforts with the UI team. We started a joint repository with the UI-team and I did commit a lot (time, work, PRs) there. Unfortunately the UI team did not have the time (or will) to debate and work on it at the time, several months passed, I ended up quite alone there and finally we decided to part our ways. UI team got back to work on their existing codebase, and the work I had made there (several PRs) became the initial seed for the AngularStrap v2 full rewrite. Have a look at the (dead) issue tracker if you're interested by the insights : https://github.com/angular-widgets/angular-bootstrap/issues?direction=desc&sort=updated&state=open https://github.com/angular-widgets/angular-bootstrap/issues?...
- olouv 13y agoAuthor here, the main difference is that AngularStrap has been rewritten from the ground up to leverage ngAnimate that came with AngularJS 1.2+, so it's leaner and brings way more flexibility on widget view lifecycle. When ngAnimate gets better thanks to the work of the core team, AngularStrap gets better too! For instance v1.2.9 brought requestAnimationFrame support to ngAnimate, every AngularStrap directive got smoother thanks to it. Both project have no external dependency, only the Bootstrap CSS styles.
- mst 13y agoHaving wasted most of yesterday dealing with the bootstrap JS implementation of scrollspy, which isn't on that list, but is on the angularstrap list ... possibly that? I am entirely uninformed here but am going to try replacing the patched version of bootstrap's idiotic scrollspy code with angularstrap's at some point since my local patches are almost as horrible as the original code was.
- TomatoTomato 13y agoFrom the other side, in a recent Javascript Jabber podcast with Dean Sofer (Feb 7th, 2014), around 16 minutes in they discuss the difference Edit: Link => http://javascriptjabber.com/095-jsj-angularui-with-dean-sofer/ http://javascriptjabber.com/095-jsj-angularui-with-dean-sofe...
- rpwverheij 13y agoSame here. Using angular ui at the moment, but I'm tempted to switch to angular strap seeing this. I wonder the opposite though: does anyone know what the current angular strap does NOT have, but angular ui does?