added <div ng-controller="detailCtrl"> to results. Finally ng-click returns console data