News for hackers. Stuff that matters.
Re:AngularStrap v2.0 by cmicali on Tuesday April 08, 2014 @07:12AM (#7552630)
We use the semi-official angular ui bootstrap library (http://angular-ui.github.io/bootstrap/)

Out of curiosity what does this give you over that?

Re:AngularStrap v2.0 by olouv on Tuesday April 08, 2014 @08:24AM (#7552891)
Author 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.
Re:AngularStrap v2.0 by websirnik on Tuesday April 08, 2014 @07:45AM (#7552757)
They are semi-competitive projects. At some point there were talks of combining 2 projects into one under 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/angular-motion are nice side-benefits.

UI-Bootstrap development is not as active as it used to be.

Re:AngularStrap v2.0 by TomatoTomato on Tuesday April 08, 2014 @02:46PM (#7555193)
From 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-sofe...

Re:AngularStrap v2.0 by mst on Tuesday April 08, 2014 @02:19PM (#7555037)
Having 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.

Re:AngularStrap v2.0 by rpwverheij on Wednesday April 09, 2014 @03:13AM (#7558060)
Same 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?

Re:AngularStrap v2.0 by DCKing on Tuesday April 08, 2014 @08:10AM (#7552837)
We 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.
Re:AngularStrap v2.0 by baggachipz on Tuesday April 08, 2014 @07:33AM (#7552707)
Modals seem to be much more streamlined. I'm curious what others think here.
Re:AngularStrap v2.0 by CoffeeDregs on Tuesday April 08, 2014 @09:29AM (#7553226)
Agreed. 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.
Re:AngularStrap v2.0 by badman_ting on Tuesday April 08, 2014 @04:07PM (#7555687)
I found that confusing as well.
Re:AngularStrap v2.0 by Bahamut on Tuesday April 08, 2014 @08:11AM (#7552845)
This 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.

Re:AngularStrap v2.0 by olouv on Tuesday April 08, 2014 @08:18AM (#7552871)
That'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.
Re:AngularStrap v2.0 by Bahamut on Tuesday April 08, 2014 @08:35AM (#7552941)
Huh, 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).

Re:AngularStrap v2.0 by olouv on Tuesday April 08, 2014 @09:33AM (#7553250)
That'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?...

Re:AngularStrap v2.0 by venuzr on Tuesday April 08, 2014 @09:28AM (#7553223)
"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
Re:AngularStrap v2.0 by websirnik on Tuesday April 08, 2014 @08:20AM (#7552874)
This is not true anymore. Angular-Strap 2.0 does not required jQuery and Bootstrap JS dependencies.