Skip to content

Instantly share code, notes, and snippets.

@narenaryan
Last active November 12, 2016 03:32
Show Gist options
  • Select an option

  • Save narenaryan/44c751e94bdc6dbe2247392a547bd6b3 to your computer and use it in GitHub Desktop.

Select an option

Save narenaryan/44c751e94bdc6dbe2247392a547bd6b3 to your computer and use it in GitHub Desktop.
// Angular JS code
angular.module('website', []).
controller('MainController', function($scope) {
// It is an array of object{Page, Visits, PerNewVisits,Revenue}
$scope.BorderedTable = [["index.html", 1266, 32.3%, 321.33],
["about.html", 261, 33.3%, 234.12]];
$scope.BorderedWithStrippedTable = [["index.html", 1266, 32.3%, 321.33],
["about.html", 261, 33.3%, 234.12]];
$scope.BasicTable = [["index.html", 1266, 32.3%, 321.33],
["about.html", 261, 33.3%, 234.12]];
$scope.StripedRowsTable = [["index.html", 1266, 32.3%, 321.33],
["about.html", 261, 33.3%, 234.12]];
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment