blob: fbab308d5f456e6dcef5dc72ad281cd0f269c6f0 [file] [log] [blame]
Matteo Scandolo66351432016-03-24 15:29:52 -07001/**
2 * © OpenCORD
3 *
4 * Visit http://guide.xosproject.org/devguide/addview/ for more information
5 *
6 * Created by teone on 3/24/16.
7 */
8
9(function () {
10 'use strict';
11
12 angular.module('xos.uiComponents.table', [])
13 .directive('xosTable', function(){
14 return {
15 restrict: 'E',
16 scope: {
17 data: '=',
18 columns: '='
19 },
20 bindToController: true,
21 controllerAs: 'vm',
22 controller: function(){
23 console.log(this.data, this.columns);
24 }
25 }
26 })
27})();