One of the features I miss the most in AngularJS is ability to easy unsubscribe event handlers. There is no convenience function opposed to $on, so in order to unsubscribe event, we have to call method returned by $on function (function () { angular.module('app.download', []) .controller('downloadCtrl', downloadController); function downloadController($scope) { // keep the unsubscribe function in local variable var afterRenderUnsubscribe = $scope.$on('afterRender', onAf...

Dziel się z innymi:
[EN] AngularJS - extending existing services using decorator

Web 2397 dni, 19 godzin, 1 minutę temu nocturn 83 pokaż kod licznika zwiń

Wczytywanie artykułów...

Konkurs z Code Europe - ranking

1
(30,04)
2
(15)
4
(15)
5
(5,01)

Najaktywniejsi w tym miesiącu

1
(45,05)
3
(25,02)
5
(15,11)
6
(15,03)
8
(15)
9
(15)
10
(10)