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 this arena.
I concur on the documentation. I spend as much time reading the code to understand the documentation as I do reading documentation to understand code. That seems perverse to me.
It's not the best but I've actually not had too much trouble with the docs. I found the trick is to read the guides first, once you understand the principles that Angular.JS works on the terse reference docs are much more approachable.
A little linking would go a long way though. For example that ngModel page really needs to link to NgModelController!
I know this is the wrong place to vent, but it would be nice if ngRepeat properly supported recursive data structures without having to write new directives.
Edit: and yes, I did actually crack open the source to see if I could make that change. In places it's ... pretty densely written. It seems to me that at least checking to see if an array has any elements and aborting if it's empty would go some of the way to stopping the locking-up problem, but I couldn't work out if that was so.
So like everyone else I have a frankenstein pair of directives to achieve the same thing.
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!
The release is ready to go for bower as of a few hours ago. Just use 1.2.x in your bower.json and it'll install the latest 1.2 release (which is this release candidate, currently).
The same goes for angular-resource, angular-cookie, angular-scenario, and the newly created angular-route. They are all versioned along side the main library, so use 1.2.x as the version for all of them.
Interesting enough, looks like there are changes to routeProvider that's causing injection to failed. Unfortunately, not a drop in replacement from 1.1.5. Anyone else experiencing same issue?
Failed to instantiate module editor due to:
Error: [$injector:unpr] Unknown provider: $routeProvider
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.
In context, there are lots of acceptance test frameworks for ruby, e.g. cucumber, spinach, and turnip. Steak is great marketing. Why use cucumber when you could have 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.
I'm very happy to see this dropping. Specifically the rewrite of ngAnimate and changing to saner (IMO) class conventions `.foo.ng-enter` and `.foo.ng-enter-active` instead of the previous use of `.foo-enter-setup` and `.foo-enter-start`.
[+] [-] tyre|12 years ago|reply
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 this arena.
[+] [-] jacques_chester|12 years ago|reply
[+] [-] yesimahuman|12 years ago|reply
[+] [-] almost|12 years ago|reply
A little linking would go a long way though. For example that ngModel page really needs to link to NgModelController!
[+] [-] saiko-chriskun|12 years ago|reply
[+] [-] RussianCow|12 years ago|reply
[+] [-] jacques_chester|12 years ago|reply
Edit: and yes, I did actually crack open the source to see if I could make that change. In places it's ... pretty densely written. It seems to me that at least checking to see if an array has any elements and aborting if it's empty would go some of the way to stopping the locking-up problem, but I couldn't work out if that was so.
So like everyone else I have a frankenstein pair of directives to achieve the same thing.
[+] [-] hueyp|12 years ago|reply
http://jsfiddle.net/uXbn6/378/
[+] [-] dolphenstein|12 years ago|reply
[+] [-] nateabele|12 years ago|reply
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
[+] [-] troym|12 years ago|reply
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!
[+] [-] rgbrgb|12 years ago|reply
[+] [-] oinksoft|12 years ago|reply
You should be able to specify this version as you do others in your bower.json.
[+] [-] revetkn|12 years ago|reply
1. Download (or point to) https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/ang...
2. You're done
[+] [-] courtewing|12 years ago|reply
The same goes for angular-resource, angular-cookie, angular-scenario, and the newly created angular-route. They are all versioned along side the main library, so use 1.2.x as the version for all of them.
[+] [-] Kiro|12 years ago|reply
[+] [-] keda|12 years ago|reply
Failed to instantiate module editor due to: Error: [$injector:unpr] Unknown provider: $routeProvider
[+] [-] zakj|12 years ago|reply
[+] [-] sergiotapia|12 years ago|reply
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.
[+] [-] phaedryx|12 years ago|reply
[+] [-] iSnow|12 years ago|reply
[+] [-] dchuk|12 years ago|reply
[+] [-] leetrout|12 years ago|reply
[+] [-] hammerha|12 years ago|reply
[+] [-] troym|12 years ago|reply
I know that doesn't answer your question directly; just wanted to point you to the existing discussion.