function ListController(listFactory, cardFactory) {

    this.arrOfCards = cardFactory.getCards(this.list);

    this.removeList = function () {
        listFactory.removeList(this.list);
    };

    this.getCards = function () {
        return cardFactory.getCards(this.list);
    };

    this.deleteCard = function (card) {
        cardFactory.deleteCard(card);
        this.arrOfCards = cardFactory.getCards(this.list);  //how to get rid this duplication ???
    };

    this.createCard = function () {
        cardFactory.createCard(this.list, this.cardDescription);
        this.arrOfCards = cardFactory.getCards(this.list);   //how to get rid this duplication ???
        this.cardDescription = '';
    };
    
    this.dragControlListeners = {
        accept: function (sourceItemHandleScope, destSortableScope) {
            return true
        },
        itemMoved: function (event) {
            cardFactory.changeSortIndicesBetweenLists(event.source, event.dest);
        },
        orderChanged: function (event) {
            cardFactory.changeSortIndicesInsideList(event.source, event.dest);
        },
        containment: '#lists-container'
    }
}
ListController.$inject = ['listFactory', 'cardFactory'];
    app.component('trelloList', {
    templateUrl: 'js/components/list.html',
    controller: ListController,
    bindings: {
        list: '<'
    }
});
@@ -41,19 +41,48 @@
 dFactory
-) %7B
+, $scope) %7B%0A    var self = this;
 %0A%0A    th
@@ -244,32 +244,65 @@
 = function () %7B%0A
+        console.log('getCards');%0A
         return c
@@ -481,47 +481,8 @@
 st);
-  //how to get rid this duplication ???
 %0A   
@@ -649,48 +649,8 @@
 st);
-   //how to get rid this duplication ???
 %0A   
@@ -1138,16 +1138,145 @@
 r'%0A    %7D
+;%0A    $scope.$on('updateCard', function (event, updatedList) %7B%0A        self.arrOfCards = cardFactory.getCards(self.list);%0A    %7D);
 %0A%7D%0AListC
@@ -1328,15 +1328,21 @@
 ory'
-%5D;%0A    
+, '$scope'%5D;%0A
 app.

Add $scope.on method