var app = angular.module('datatable', []);

app.controller('MainCtrl', function($scope, $http) {
  $http.get('http://jsonplaceholder.typicode.com/posts')
  .success(function(data){
    $scope.posts = data;
  });
});
<!DOCTYPE html>
<html ng-app="datatable">

  <head>
    <meta charset="utf-8" />
    <title>AngularJS Plunker</title>
    <script>document.write('<base href="' + document.location + '" />');</script> 
    <script data-semver="1.2.27" src="https://code.angularjs.org/1.2.27/angular.js" data-require="angular.js@1.2.x"></script>
    <script src="app.js"></script>
  </head>

  <body ng-controller="MainCtrl">
    <table datatable="ng">
                    <thead>
                        <tr>
                            <th>UserID</th>
                            <th>Title</th>
                            <th>Body</th>
                        </tr>
                    </thead>
                    <tbody>
                      <tr ng-repeat="post in posts">
                        <td> {{post.userId}}</td>
                        <td> {{post.title}}</td>
                        <td> {{post.body.substring(0,15)}}</td>
                      </tr>
                      </tbody>
    </table>
  </body>
  

</html>