News for hackers. Stuff that matters.
Re:EmberJS Confuses Me by robconery on Wednesday March 06, 2013 @03:57PM (#5333863)
The examples were to show how $scope is used in Angular vs direct use of the Controller/Model proxy in Ember. This makes a bit more sense to me, personally.
Re:EmberJS Confuses Me by clintjhill on Wednesday March 06, 2013 @04:03PM (#5333894)
Except you could write identical code in Ember as well when you extend the controller. Replace "$scope" with "content" and it's identical.
Re:EmberJS Confuses Me by robconery on Wednesday March 06, 2013 @04:08PM (#5333946)
Interesting - didn't know this. $scope is injected by Angular and available to the view - is this the same thing? I didn't think Ember had a DI aspect to it.