{"size": 816, "ext": "js", "max_stars_repo_path": "AngularFaces_2.0/AngularFaces-2.0-examples/src/main/webapp/manual/3_controllers/dice.js", "max_stars_repo_name": "stephanrauh/AngularFaces", "max_stars_repo_stars_event_min_datetime": "2015-01-07T10:56:39.000Z", "max_stars_repo_stars_event_max_datetime": "2020-04-05T06:58:49.000Z", "max_issues_repo_path": "AngularFaces_2.0/AngularFaces-2.0-examples/src/main/webapp/manual/3_controllers/dice.js", "max_issues_repo_name": "stephanrauh/AngularFaces", "max_issues_repo_issues_event_min_datetime": "2015-01-07T10:56:17.000Z", "max_issues_repo_issues_event_max_datetime": "2017-12-27T14:06:49.000Z", "max_forks_repo_path": "AngularFaces_2.0/AngularFaces-2.0-examples/src/main/webapp/manual/3_controllers/dice.js", "max_forks_repo_name": "stephanrauh/AngularFaces", "max_forks_repo_forks_event_min_datetime": "2015-01-06T07:24:00.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-30T15:10:59.000Z"}
{"max_stars_count": 53, "max_issues_count": 57, "max_forks_count": 36, "avg_line_length": 30.2222222222, "max_line_length": 71, "alphanum_fraction": 0.7401960784}
console.log("dice.js loaded");
var module = angular.module("DiceApp", [ "angularfaces" ]);

Dice1Controller.$inject = ['$scope'];

module.controller('Dice1Controller', Dice1Controller);

function Dice1Controller($scope, $injector) {
  console.log("initializing Dice1Controller");
  $scope.welcomeMessage = "This is the first controller.";
  // This initializes the Angular Model with the values of the JSF bean
  // attributes
  initJSFScope($scope);
}

Dice2Controller.$inject = ['$scope'];

module.controller('Dice2Controller', Dice2Controller);

function Dice2Controller($scope, $injector) {
  console.log("initializing Dice2Controller");
  $scope.welcomeMessage = "This is the second controller.";
  // This initializes the Angular Model with the values of the JSF bean
  // attributes
  initJSFScope($scope);
}
