Fixed UI tests
diff --git a/views/ngXosViews/sampleView/src/js/main.js b/views/ngXosViews/sampleView/src/js/main.js
index 3dc24a6..b22e0ab 100644
--- a/views/ngXosViews/sampleView/src/js/main.js
+++ b/views/ngXosViews/sampleView/src/js/main.js
@@ -23,115 +23,16 @@
     bindToController: true,
     controllerAs: 'vm',
     templateUrl: 'templates/users-list.tpl.html',
-    controller: function(Users, _){
+    controller: function(Users){
 
       this.tableConfig = {
-        columns: [
-          {
-            label: 'E-Mail',
-            prop: 'email'
-          },
-          {
-            label: 'First Name',
-            prop: 'firstname'
-          },
-          {
-            label: 'Last Name',
-            prop: 'lastname'
-          },
-          {
-            label: 'Created',
-            prop: 'created'
-          },
-          {
-            label: 'is_admin',
-            prop: 'is_admin'
-          }
-        ],
-        classes: 'table table-striped table-condensed',
-        actions: [
-          {
-            label: 'delete',
-            icon: 'remove',
-            cb: (user) => {
-              console.log(user);
-              // _.remove(this.users, {id: user.id});
-            },
-            color: 'red'
-          }
-        ],
-        filter: 'field',
-        order: true,
-        pagination: {
-          pageSize: 10
-        }
+        resource: 'Users'
       };
-
-      this.smartTableConfig = {
-        resource: 'Users',
-        hiddenFields: [
-          'email',
-          'username',
-          // 'created',
-          'updated',
-          'last_login',
-          'is_active',
-          'is_admin',
-          'is_staff',
-          'is_readonly',
-          'is_registering',
-          'is_appuser',
-          'timezone'
-        ]
-      }
-
-      this.alertConfig = {
-        type: 'danger',
-        closeBtn: true
-      }
-
-      this.formConfig = {
-        exclude: ['password'],
-        formName: 'myForm',
-        fields: {
-          firstname: {
-            validators: {
-              minlength: 10
-            }
-          },
-          lastname: {
-            validators: {
-              maxlength: 3
-            }
-          },
-          user_url: {
-            validators: {
-              required: true
-            }
-          }
-        },
-        actions: [
-          {
-            label: 'Save',
-            icon: 'ok', // refers to bootstraps glyphicon
-            cb: (user) => { // receive the model
-              console.log(user);
-            },
-            class: 'success'
-          }
-        ]
-      };
-
-      this.errors = {
-        email: false
-      }
-
-      console.log('aaa')
-
+      
       // retrieving user list
       Users.query().$promise
       .then((users) => {
-        this.users = users.concat(users).concat(users).concat(users);
+        this.users = users;
       })
       .catch((e) => {
         throw new Error(e);