3 ms·
One thing that definitely can be improved is using "Controller As" syntax. It solves most of the $scope issues. Here's a good writeup: http://toddmotto.com/di
by poxrud 12y ago
One thing that definitely can be improved is using "Controller As" syntax. It solves most of the $scope issues.
Here's a good writeup: http://toddmotto.com/digging-into-angulars-controller-as-syntax/ http://toddmotto.com/digging-into-angulars-controller-as-syn...