All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panel.app.tables.app.js Maven / Gradle / Ivy

Go to download

Splout SQL is a read only, horizontally scalable and partitioned SQL database that plays well with Hadoop.

The newest version!
var tablesApp = angular.module('tablesApp', [
    'ui.bootstrap',
    'ngRoute',
    'angularSpinner',
    'ajoslin.promise-tracker',
    'tablesControllers']);


tablesApp.config(['$routeProvider',
  function($routeProvider) {
    $routeProvider.
      when('/:tablespace', {
        templateUrl: 'partials/tablespace-tables.html',
        controller: 'TablesCtrl'
      }).
      when('/', {
        templateUrl: 'partials/tablespace-tables.html',
        controller: 'TablesCtrl'
      }).
      otherwise({
        redirectTo: function (routeParams, path, search) {
        return '/';
      }
      });
  }]);

  tablesApp.filter('array', function() {
    return function(items) {
      var filtered = [];
      angular.forEach(items, function(item) {
        filtered.push(item);
      });
     return filtered;
    };
  });




© 2015 - 2024 Weber Informatics LLC | Privacy Policy