{"size": 561, "ext": "js", "max_stars_repo_path": "client/src/main/webjar/program/program.resource.js", "max_stars_repo_name": "healthbam/healthbam", "max_stars_repo_stars_event_min_datetime": "2017-01-22T14:00:24.000Z", "max_stars_repo_stars_event_max_datetime": "2017-07-12T01:44:48.000Z", "max_issues_repo_path": "client/src/main/webjar/program/program.resource.js", "max_issues_repo_name": "healthbam/healthbam", "max_issues_repo_issues_event_min_datetime": "2016-09-11T15:06:56.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-02T09:53:31.000Z", "max_forks_repo_path": "client/src/main/webjar/program/program.resource.js", "max_forks_repo_name": "healthbam/healthbam", "max_forks_repo_forks_event_min_datetime": "2016-09-11T15:11:20.000Z", "max_forks_repo_forks_event_max_datetime": "2020-05-30T08:48:56.000Z"}
{"max_stars_count": 3, "max_issues_count": 271, "max_forks_count": 8, "avg_line_length": 17.0, "max_line_length": 53, "alphanum_fraction": 0.4705882353}
(function (angular) {
    "use strict";

    var module = angular.module("healthBam.program");

    /**
     * Resource for programs.
     * @param $resource service.
     * @returns new $resource instance for programs.
     * @constructor
     */
    function Program(
        $resource
    ) {
        return $resource(
            "api/programs/:id",
            {
                id: "@id"
            }
        );
    }

    Program.$inject = [
        "$resource"
    ];

    module.factory(
        "Program",
        Program
    );

}(window.angular));
