| Matteo Scandolo | a5d03d5 | 2016-07-21 11:35:46 -0700 | [diff] [blame] | 1 | /* eslint-disable angular/ng_module_name */ |
| 2 | (function () { | ||||
| 3 | 'use strict'; | ||||
| 4 | console.log('hello!'); | ||||
| 5 | angular.module('ngXosLib', ['xos.helpers']) | ||||
| 6 | .run(function(){ | ||||
| 7 | console.info('Dev Environment ready!') | ||||
| 8 | }) | ||||
| 9 | .controller('testCtrl', function(){ | ||||
| 10 | |||||
| 11 | // TODO add styles | ||||
| 12 | |||||
| 13 | this.config = { | ||||
| 14 | columns: [ | ||||
| 15 | { | ||||
| 16 | label: '#', | ||||
| 17 | prop: 'id', | ||||
| 18 | }, | ||||
| 19 | { | ||||
| 20 | label: 'Name:', | ||||
| 21 | prop: 'name', | ||||
| 22 | } | ||||
| 23 | ] | ||||
| 24 | }; | ||||
| 25 | |||||
| 26 | this.data = [ | ||||
| 27 | {id: 1, name: 'Jhon'} | ||||
| 28 | ]; | ||||
| 29 | }); | ||||
| 30 | })(); | ||||