text: // Xeditable Module
  // ====================================================================
  // This file should included in your project.
  //
  // - Squaredesigns.net -
  
  
  'use strict';
  
  app.run(function(editableOptions) {
    editableOptions.theme = 'bs3';
  });
  
  /***********************************
    :: Select Local Ctrl 
  ***********************************/
  
  app.controller('SelectLocalCtrl', function($scope, $filter) {
    $scope.user = {
      status: 2
    }; 
  
    $scope.statuses = [
      {value: 1, text: 'status1'},
      {value: 2, text: 'status2'},
      {value: 3, text: 'status3'},
      {value: 4, text: 'status4'}
    ]; 
  
    $scope.showStatus = function() {
      var selected = $filter('filter')($scope.statuses, {value: $scope.user.status});
      return ($scope.user.status && selected.length) ? selected[0].text : 'Not set';
    };
  });
  
  /***********************************
    :: Html 5 Inputs Ctrl
  ***********************************/
  
  app.controller('Html5InputsCtrl', function($scope) {
    $scope.user = {
      email: 'email@example.com',
      tel: '123-45-67',
      number: 29,
      range: 10,
      url: 'http://example.com',
      search: 'blabla',
      color: '#6a4415',
      date: null,
      time: '12:30',
      datetime: null,
      month: null,
      week: null
    };  
  });
  
  /***********************************
    :: Text area Ctrl
  ***********************************/
  
  app.controller('TextareaCtrl', function($scope) {
    $scope.user = {
      desc: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
    };
  });
  
  /***********************************
    :: Checkbox Ctrl
  ***********************************/
  
  app.controller('CheckboxCtrl', function($scope) {
    $scope.user = {
      remember: true
    };  
  });
  
  /***********************************
    :: Text Btn Ctrl
  ***********************************/
  
  app.controller('TextBtnCtrl', function($scope) {
    $scope.user = {
      name: 'Awesome user'
    };  
  });