Please check below link whether it is useful

http://salesforce.stackexchange.com/questions/115663/how-to-navigate-to-the-record-get-the-record-id-in-auraiteration

If you still have problem, provide snippet of your code