Moved <a addElement> out of ngRepeat