commit | aaa733dcf313243e54e690381cf029dcd930677e | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@onlab.us> | Tue Apr 26 08:42:51 2016 -0700 |
committer | Matteo Scandolo <teo@onlab.us> | Tue Apr 26 08:42:51 2016 -0700 |
tree | 3048f40fdc5a6dbed8cfe040eaa25183aa74868d | |
parent | 8b55d9f66d53a1ae9c8d6b6839ea35caa478ab0a [diff] |
Started smart table component
diff --git a/views/ngXosLib/xosHelpers/src/ui_components/smartComponents/smartTable/smartTable.component.js b/views/ngXosLib/xosHelpers/src/ui_components/smartComponents/smartTable/smartTable.component.js index 3feeb4a..b8b5915 100644 --- a/views/ngXosLib/xosHelpers/src/ui_components/smartComponents/smartTable/smartTable.component.js +++ b/views/ngXosLib/xosHelpers/src/ui_components/smartComponents/smartTable/smartTable.component.js
@@ -57,9 +57,11 @@ let Resource = $injector.get(this.config.resource); + console.log('query', Resource.query.toString(), Resource.test(`I'm Alive!`)); + Resource.query().$promise .then((res) => { - + console.log('Data!!'); let props = Object.keys(res[0]); _.remove(props, p => {