Fix infinite-scroll-container and -parent for Angular 1.2; add test cases for them.