4 ms·
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.
by robconery 14y ago
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.
- clintjhill 14y agoExcept you could write identical code in Ember as well when you extend the controller. Replace "$scope" with "content" and it's identical.
- robconery 14y agoInteresting - 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.