News for hackers. Stuff that matters.
Re:Unit Testing Best Practices in AngularJS by chrisrhoden on Wednesday October 16, 2013 @04:06PM (#6561832)

  1. DI.
  2. Clear separation of concerns.
I believe that writing testable Javascript has been possible since the name Javascript was invented. Angular.js has made it easier by doing its best to force you to write testable code.
Re:Unit Testing Best Practices in AngularJS by frankblizzard on Thursday October 17, 2013 @03:50AM (#6564122)
you can use DI in backbone and clearly seperate your concerns as well. It is just not as much enforced in the framework (not opinionated)
Re:Unit Testing Best Practices in AngularJS by chrisrhoden on Friday October 18, 2013 @10:01AM (#6571391)
So you agree with me.