Hacker News new | ask | show | jobs
by jhartikainen 4685 days ago
Would be interesting to hear if you discovered any downsides to Angular. I've been working with it a lot lately, but it seems to be a really good solution and the only issues with it is it can be hard to set up to be compatible with googlebot and the slightly tough learning curve
4 comments

We didn't look at all at SEO since it's our customer dashboard, we don't really care about it.

Here's the few downsides of Angular IMO :

- I'm particularly unhappy with the router, it does a good job but as soon as you start to have nested routes and complex layout, it you want to avoid copy-pasting the same bits of code everywhere it becomes a nightmare. We mitigated most of these issues by using a lot of directives but it doesn't solve the problem entirely. We looked at ui-router at some point but weren't totally satisfied by the way it worked. Maybe we should take another look.

- errors are sometimes very obscure, it can be hard to debug, even if at some point you start to recognize some errors and know where to look first

- docs could be better

There are some other glitches here and there but most of the time Angular is a real pleasure to use, it's by far the best front-end framework I've worked with.

SEO is the most annoying. You end up writing server side templates to mimic the client side templates just for the spiders benefits. Not a unique angular problem.
I made http://www.BromBone.com to help with the googlebot problem.

I agree. The learning curve can be steep, but I've really enjoyed using Angular.