What am I doing wrong?
import {bootstrap, Component} from \'angular2/angular2\' @Component({ selector: \'conf-talks
There is an alternative if you want to use of and not switch to in. You can use KeyValuePipe introduced in 6.1. You can easily iterate over an object:
of
in
KeyValuePipe
{{item.key}}:{{item.value}}