blob: 4ac974d3b56ef416d9e504c4cc62441a49dcc8c0 [file] [log] [blame]
'use strict';
angular.module('ngXosLib')
.component('tableTest', {
restrict: 'E',
bindings: {},
bindToController: true,
controllerAs: 'vm',
templateUrl: 'templates/table.dev.html',
controller: function () {
this.config = {
columns: [
{
label: '#',
prop: 'id'
},
{
label: 'Name:',
prop: 'name'
}
]
};
this.data = [{id: 1, name: 'Jhon'}]
}
})