Ionic cordova retrive all iphone's contacts and display on the screen


Hi there, I am writing an app using cordova contacts plugin to retrieve all the contacts’ display name and phone number, however, I can display all the contacts information through console.log in service’s on success function, but I cannot pass all the information to the controller and then display them on the iphone screen’s view. How should I suppose to do that. Below are my

and my haml file

Any help would be great appreciate, thank you.