

This.posts = er_service.Get_User() īut all in all, i would change your api to respond correct data structures like arrays of it is a list… or transform your data to an array in your user-service. Then loop simply over the keys and access the current key of your object.Ĭomponent class // import of the angular stuff You have to share the keys with your template -> so it must be a class member.

Angular2 Starter Plunker - Typescript - RC.0 A simple plunker.
Here and example how it could look like with angular 2, because i do not know the correct ionic2 syntax, yet. Summarylink Interpolation with double curly braces to display a component property. DOCTYPE html>