Angular js and Jquery datatable example

By in
No comments
Download Js files form the below link,

bootstrap.min.js  Optional.
Download angular-datatable and put angular-datatables.min.js file in your project

        <script src=""></script>
        <script src=""></script>
        <script src=""></script>
        <script src="angular-datatables/dist/angular-datatables.min.js"></script>   
        <script src=""></script>

        <link rel="stylesheet" href="">
        <link rel="stylesheet" href="">
        <div ng-app="DATATABLEAPP" ng-controller="DATATABLEAPPCtrl">
            <table datatable="ng" class="table">
                    <tr ng-repeat="name in names" ng-click="ClickFunction(name)">

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

                app.controller('DATATABLEAPPCtrl', function($scope, $http)
                    $http.get("YOURURL").success(function (response)
                        $scope.names = response.records;

                    $scope.clickFunction= function(name)

Leave a Reply

Your email address will not be published. Required fields are marked *