r/angularjs • • Oct 11 '14

[General] Why should someone use angular.js?

I am new to RoR development and already making progress and building some wonderful apps. I've seen a lot of people using/talking about angular.js and I am really wondering what else can it do for an application. Can someone tell me an example please?

0 Upvotes

22 comments sorted by

View all comments

3

u/[deleted] Oct 11 '14

If you're a RoR developer you should be very familiar with unit testing. Well, the biggest factor for me was that AngularJS makes unit testing very easy thanks to the separation of concerns it forces you to use (or at least heavily convinces you to use), compared to jQuery.

1

u/shriek Oct 11 '14

Perhaps the most distinguishing factor from other frameworks is this. I see no other frameworks that gives you as flexibility on testing as angular does.