Add hsRepeat directive