angular-ellipsis icon indicating copy to clipboard operation
angular-ellipsis copied to clipboard

Integration of ng-bind with ng-repeat.

Open martingg88 opened this issue 10 years ago • 4 comments

How to make the ng-bind to work with ng-repeat in order to include the truncate text in looping.

martingg88 avatar Aug 15 '14 13:08 martingg88

having issues with this as well. it will work if I call $scope.$apply() after the angular.forEach that I populate the list with, but since this is in a callback for $http, it complains that $digest is already happening.

coobstar avatar Aug 27 '14 16:08 coobstar

ah but it worked when I stored the list in a temporary array and then assigned it to my ng-repeat driver after the forEach was done.

coobstar avatar Aug 27 '14 16:08 coobstar

great. thanks...

martingg88 avatar Aug 28 '14 04:08 martingg88

@coobstar, you're right in that there is a conflict with $digest here. Can you paste in an example of the non-working code? I'd like to think we can simply modify the directive's priority, but things are generally never that simple.

dibari avatar Aug 29 '14 13:08 dibari