Ionic modal


#1

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($scope.idbp);
    $scope.modal.show();
  };

$scope.tutu = function(id){
  $http.get('http://localhost:1337/bonplan?idbonplan='+id).
          success(function(data, status, headers, config) {
                  $scope.bpId = data;
                  console.log($scope.bpId);
            }).
          error(function(data, status, headers, config) {
                  console.log(data);
            });
};

#2

Any chance you could put together a codepen for this?