My JavaScript:
this.items = [ {name: \'Amsterdam1\', id: \'1\'}, {name: \'Amsterdam2\', id: \'2\'}, {name: \'Amsterdam3\', i
I found the answer. I can use [attr.id] tag on the 'li' tag.