luki86

Results 2 comments of luki86

I'm trying to delay angular-isotope init, but without positive results. I've added iso-use-init-event='true' attribute, then I've emitted event $scope.$emit('my-iso-method', {name:null, params:null}). But it still doesn't work. I've prepared example: http://plnkr.co/edit/i8u0HyAvOnGoBGkLdxe4?p=preview...

I've found the solution. Instead of $scope.$emit I should use $scope.$broadcast, and 'iso-init' instead of 'my-iso-method'. I've update plnkr, and now angular-isotope is starting after 5 seconds. http://plnkr.co/edit/i8u0HyAvOnGoBGkLdxe4?p=preview