blob: 4ac974d3b56ef416d9e504c4cc62441a49dcc8c0 [file] [log] [blame]
Arpit Agarwal43978742016-08-09 15:38:25 -07001'use strict';
2
3angular.module('ngXosLib')
4 .component('tableTest', {
5 restrict: 'E',
6 bindings: {},
7 bindToController: true,
8 controllerAs: 'vm',
9 templateUrl: 'templates/table.dev.html',
10 controller: function () {
11 this.config = {
12 columns: [
13 {
14 label: '#',
15 prop: 'id'
16 },
17 {
18 label: 'Name:',
19 prop: 'name'
20 }
21 ]
22 };
23 this.data = [{id: 1, name: 'Jhon'}]
24 }
25 })