Ionic modal


Hey guys i need help.
I facing an issue for a while now. i have a modal in my view and i’m intending to bing data from my scope.
My date is a response for an $http request. I don’t know wath is wrong but i can’t display my data in my modal viewi.
whem i type {{bpId.idboplan}} nothing appea.

 $scope.bonPlan = function(id) {
    $scope.idbp = id;

$scope.tutu = function(id){
          success(function(data, status, headers, config) {
                  $scope.bpId = data;
          error(function(data, status, headers, config) {


Any chance you could put together a codepen for this?