Live data from Hacker News

AngularJS 1.2.0-rc1 released

blog.angularjs.org

31–39 of 39 posts

Re: AngularJS 1.2.0-rc1 released

#31

'spooky-giraffe'? :/ What happened to the cool release names such as Longhorn, Maverick, Feisty Fawn, et al? These days libraries have such funky names, kind of odd. There's a ruby gem out there that's called Steak. Yep, Steak.

Actually, `spooky-giraffe` made me smile because it's such a nice contrast to the overused and tiresome macho code names like `Longhorn` or `Mountain Lion`. I hope the next Angular release will be `superheroic earthworm` or something like that.

Re: AngularJS 1.2.0-rc1 released

#32

Note: Shameless plug. :-) Now that the Angular core team has taken the step of moving the core routing infrastructure out into a separate library, I'd like to take this opportunity to recommend the unofficially-official alternative: https://github.com/angular-ui/ui-router/#ui-router

I avoided routing with Angular as long as I could because my initial attempts were.. shall we say, painful (and I blame me, not Angular).

When I returned to the routing bits in my app, I picked up ui-router. It's such a nice library, I can't say enough good about it other than this: it should be in Angular core.

I most appreciate nested routes and the state handling; the integration with ng-animate is just butter. Thank you!

Re: AngularJS 1.2.0-rc1 released

#33

So, when can we use 1.2.0 stable? Any guess?

September... 2012. See this thread (one of the longest on the mailing list atm): https://groups.google.com/forum/#!topic/angular/tqFZBkWPvl8

I know that doesn't answer your question directly; just wanted to point you to the existing discussion.

Re: AngularJS 1.2.0-rc1 released

#35
post #32

Note: Shameless plug. :-) Now that the Angular core team has taken the step of moving the core routing infrastructure out into a separate library, I'd like to take this opportunity to recommend the unofficially-official alternative: https://github.com/angular-ui/ui-router/#ui-router

I avoided routing with Angular as long as I could because my initial attempts were.. shall we say, painful (and I blame me, not Angular). When I returned to the routing bits in my app, I picked up ui-router. It's such a nice library, I can't say enough good about it other than this: it should be in Angular core. I most appreciate nested routes and the state handling; the integration with ng-animate is just butter. Th…

Thanks for the kind words.

> I can't say enough good about it other than this: it should be in Angular core.

Yeah, the core team have promised us that they'll be evaluating it for inclusion in 2.0.

Re: AngularJS 1.2.0-rc1 released

#36
post #6

Using Angular was a huge pleasure for developing a Chrome Packaged App in every way but one. Documentation. It isn't sexy to write docs; as a developer you don't get that feeling of 'shipping code', but it is one of the most important parts of an open source library. Knowing that your question is always a google away (not a 'I hope someone asked this on StackOverflow' away) is important and I hope they improve in thi…

My favorite Angular doc page: http://docs.angularjs.org/api/ng.directive:ngModel

This is mine: http://docs.angularjs.org/guide/dev_guide.unit-testing

Re: AngularJS 1.2.0-rc1 released

#37
post #24

Earlier quoted context omitted.

Can you include a sample of a template with your custom directive? I'm not sure what the expected thing out of the box would be. (not the code of the directive, just the use)

Here's the original article I took inspiration from: http://sporto.github.io/blog/2013/06/24/nested-recursive-dir... I've modified it a bit to add a $watchCollection listener. So when a recursive array is updated, it deletes a child OL and then recompiles again: https://gist.github.com/jchester/6227865 I don't particularly like the fact that this creates a dependency on jQuery (through .empty()). There are other appr…

This would also be useful for me. To properly do the recursion though, I think it needs to have a function attribute "recurse-by" specified which, at any level in the structure, returns the items for the next level.

Re: AngularJS 1.2.0-rc1 released

#38
post #34
post #7

What's the best way to install this with bower?

OT but what's the benefit of using bower? Just seems to complicate things.

Single command line retrieval of dependencies, single command line to update them. And you don't have to remember the exact git url.

Re: AngularJS 1.2.0-rc1 released

#39
post #6

Using Angular was a huge pleasure for developing a Chrome Packaged App in every way but one. Documentation. It isn't sexy to write docs; as a developer you don't get that feeling of 'shipping code', but it is one of the most important parts of an open source library. Knowing that your question is always a google away (not a 'I hope someone asked this on StackOverflow' away) is important and I hope they improve in thi…

am I the only one that has never had an issue with angular's docs? :P

Likely. I don't think the "docs" of the core framework are so bad is that there's nothing that really explains "The Why" well. I have a hard time with understanding unless I know The Why, and it's mostly an exercise in rote learning until then, and I think rote learning for something complex like AngularJS is a bad thing
Post reply on HN