2 ms·
A lot of the bad rep about Angular results from the fact that it gives users too much rope to hang themselves with. I worked at an Angular focused consultancy
by lewisl9029 11y ago
A lot of the bad rep about Angular results from the fact that it gives users too much rope to hang themselves with.
I worked at an Angular focused consultancy for a while, and have seen some absolutely horrifying (inherited) Angular codebases precisely due to overuse of controller spaghetti code and scope inheritance. On the other hand, our own greenfield projects have been a pleasure to work with because they focus on implementing most functionality in services rather than in controllers and using services for communication between directives over scope inheritance.
Angular 2 tries to cut back on some of the oft misused features like controllers and scope inheritance, but it's essentially an entirely new framework because of it. There's no clear upgrade path if you've been using these features gratuitously in your project, in which case you'd probably be better off doing some heavy refactoring, if not a rewrite, anyways.
And as far as new frameworks are concerned, React + Om is a much better way to build applications than Angular 2 in my opinion.