Correcting property name on ngRepeat directive function