You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 22, 2021. It is now read-only.
Hello guys...
I have different containers and each has it's own controller and template. So I have ng-repeat for some items in each container.
Here I want to have bind notifier dynamically generated in the controller like below so that I can specifically update only single container ng-repeat.
Hello guys...
I have different containers and each has it's own controller and template. So I have ng-repeat for some items in each container.
Here I want to have bind notifier dynamically generated in the controller like below so that I can specifically update only single container ng-repeat.
Current Implementation
<div layout="column" ng-repeat="item in :refresh:$ctrl.iteration.work_items | limitTo : $ctrl.maxLimitOfItems" ng-repeat-end-custom="$ctrl.loadRemainingItems()" class="dragged-work-item-element work-item-space-top" id={{::item._id}}child data-item-type="parent" ng-show="item.isFilter" > </div>Expected Implementation
HTML
<div layout="column" ng-repeat="item in :$ctrl.refreshKeyWord:$ctrl.folder.items | limitTo : $ctrl.maxLimitOfItems" ng-repeat-end-custom="$ctrl.loadRemainingItems()" class="dragged-work-item-element work-item-space-top" id={{::item._id}}child data-item-type="parent" ng-show="item.isFilter" > </div>Controller logic:
during initialisation
self.refreshKeyWord = 'refreshItems'+self.folder._id;
After some event
$rootScope.$broadcast('$$rebind::refreshItems'+self.folder._id);
Currently I am using one notifier key to render all of items for all containers.
Please help me.