Getting Index Of Array Angular