{"size": 403, "ext": "js", "max_stars_repo_path": "js/controllers.js", "max_stars_repo_name": "numerodix/numerodix.github.io", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/controllers.js", "max_issues_repo_name": "numerodix/numerodix.github.io", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/controllers.js", "max_forks_repo_name": "numerodix/numerodix.github.io", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 36.6363636364, "max_line_length": 77, "alphanum_fraction": 0.7320099256}
var bithacksApp = angular.module('bithacksApp', ['ngSanitize']);

bithacksApp.controller('BitHacksController', ['$scope', function($scope) {
    $scope.operation_sets = bithackCollection.getOperationSets();
    $scope.mnemonics = bithackCollection.getAllMnemonics();

    $scope.applyFilter = function(mnemonic) {
        $scope.operation_sets = bithackCollection.getOperationSets(mnemonic);
    }
}]);
