Href在Javascript函数中不起作用

I have got this code below and I want to know how I can add a clickable link to the boxes under each title.

I want this <a href=" . '"callto://+' . $getTelephone . '"' . ">Call on Skype</a> to appear in the first box. But I cannot get it to work as the whole function just stops working when I add it.

function MyCtrl($scope) {
  $scope.environment_service_packages = 
    [
      {name: 'obj1', info: {text: '<?php echo "A html link below \
\
 Call on Skype"; ?>', show: true}},
      {name: 'obj2', info: {text: 'some extra info for obj2', show: true}},
      {name: 'obj3', info: {text: 'some extra info for obj3', show: true}},
      {name: 'obj4', info: {text: 'some extra info for obj4', show: false}},
    ];
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>

<body ng-app>
  <table ng-controller="MyCtrl" class="table table-hover table-striped">
    <tr class="info">
      <td>...</td>
    </tr>
    <tbody ng-repeat="x in environment_service_packages">
      <tr ng-click="x.info.show = !x.info.show">
        <td> {{ x.name }}
      </tr>
      <tr ng-show="x.info.show">
        <td>
          <pre>{{ x.info.text }}</pre>
        </td>
      </tr>
    </tbody>
  </table>
</body>

</div>

Putting ng-repeat on the tbody will create a body for every member in the array.

Try putting ng-repeat-start on the first row and ng-repeat-end on the second row.

You can't run PHP code in client side... you need to change HTML to something like:

<a href="callto://{{this.come.from.angular.getTelephone }}">Call on Skype</a>