Blame view
app/views/getAllFBO/getAllFBO.controller.js
1.28 KB
7379f005b
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
'use strict'; //Load controller angular.module('inspinia') .controller('getAllFBOController', function($scope, GetAllFBO) { $(document).ready(function(){ $('.i-checks').iCheck({ checkboxClass: 'icheckbox_square-green', radioClass: 'iradio_square-green', }); $('.dataTables-example').DataTable({ pageLength: 25, responsive: true, dom: '<"html5buttons"B>lTfgitp', buttons: [ { extend: 'copy'}, {extend: 'csv'}, {extend: 'excel', title: 'ExampleFile'}, {extend: 'pdf', title: 'ExampleFile'}, {extend: 'print', customize: function (win){ $(win.document.body).addClass('white-bg'); $(win.document.body).css('font-size', '10px'); $(win.document.body).find('table') .addClass('compact') .css('font-size', 'inherit'); } } ] }); }); GetAllFBO.getALlFBOList().then(function(result) { console.log(result) $scope.fboList = result; }) }); |