Skip to content

jeanlouisboudart/webjars-angular-datatables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

webjars-angular-datatables

Webjar integration of angular-datatables(http://l-lin.github.io/angular-datatables)

Installation

Include the JS file in your index.html file:

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

IMPORTANT: You must include the JS AFTER jQuery and DataTables!

If you want the Twitter Bootstrap support, then add the CSS file:

<link rel="stylesheet" href="/webjars/angular-datatables/0.0.3/datatables.bootstrap.min.css">

Declare dependencies on your module app like this:

angular.module('myModule', ['datatables']);

Complete example

<link rel="stylesheet" href="/webjars/datatables/1.10.1/css/jquery.dataTables.min.css">
<!--optionnal-->
<link rel="stylesheet" href="/webjars/angular-datatables/0.0.3/datatables.bootstrap.min.css">

<script src="/webjars/jquery/1.11.1/jquery.min.js"></script>
<script src="/webjars/datatables/1.10.1/js/jquery.dataTables.min.js"></script>
<script src="/webjars/angularjs/1.2.6/angular.min.js"></script>
<!-- needs to be included AFTER jQuery and Datatables -->
<script src="/webjars/angular-datatables/0.0.3/angular-datatables.min.js"></script>

Usage

See angular datatables website.

About

Webjar integration of angular-datatables

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •