Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Except you could write identical code in Ember as well when you extend the controller. Replace "$scope" with "content" and it's identical.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: