Render Json data in Datatables with Angularjs

Render Json data in Datatables with Angularjs

Hello to all, In this post, I will tell you, How to Render Json data in Datatables with Angularjs? Angularjs and jQuery Datatables both are very famous.

Here is working and tested code for Render Json data in Datatables with Angularjs:
<!DOCTYPE html>
<script src=""></script>
<script src= ""></script>
<link rel="stylesheet" href="">
<script src= ""></script>
<body ng-app="myApp">
<div  ng-controller="myCtrl">
    <table id="example" class="display" style="width:100%">
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope) {
     $scope.names = [
      { "Name" : "Max Joe", "City" : "Lulea", "Country" : "Sweden" },
      { "Name" : "Manish", "City" : "Delhi", "Country" : "India" },
      { "Name" : "Koniglich", "City" : "Barcelona", "Country" : "Spain" },
      { "Name" : "Wolski", "City" : "Arhus", "Country" : "Denmark" }
       "ordering": true,
        "data": $scope.names,
        "searching": true,
        "columns": [


 If you have any query related to this post, then please do comment below or ask questions.

Ajay Malhotra
the authorAjay Malhotra
Hello to all. Welcome to Myself Ajay Malhotra and I am freelance full stack developer. I love coding. I know Wordpress, Core php, Angularjs, Angular 2, Angular 6, Angular 7, Angular 8, Angular 9, Angular 10, Angular 11, Nodejs, laravel, Codeigniter, Shopify, Squarespace, Jquery, Google Map Api, Vuejs, Reactjs, Bigcommerce etc.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.