update buffered to work with hg-repeat
update buffered to work with ng repeat packaged