News for hackers. Stuff that matters.
Re:AngularJS: A Retrospective by j_baker on Wednesday March 26, 2014 @12:47PM (#7474622)
> When starting out, forgo writing directives. You need a deep knowledge of AngularJS' internals to debug directives when they misbehave. Instead, start by writing a small controller and view. You can refactor these into a directive later when it feels right.

No. Controllers should not be used for DOM manipulation. Angular directives take some learning, but they're great. It basically turns DOM node selection into a matter of Dependency Injection. I think it's an exaggeration to say that directives require "deep knowledge of AngularJS' (sic) internals".

Re:AngularJS: A Retrospective by acconrad on Wednesday March 26, 2014 @02:05PM (#7475147)
Exactly, and this is echoed by the Angular development team (http://docs.angularjs.org/guide/controller).
Re:AngularJS: A Retrospective by vedant on Wednesday March 26, 2014 @12:53PM (#7474664)
Why the "(sic)"? Is "AngularJS" not the preferred stylization?
Re:AngularJS: A Retrospective by mattwad on Wednesday March 26, 2014 @01:00PM (#7474701)
not sure if it's what he meant, but the correct possessive should be AngularJS's