{"size": 662, "ext": "js", "max_stars_repo_path": "src/JwtWebApi/Client/books/books.js", "max_stars_repo_name": "stewartm83/Jwt-in-Asp.Net-Web-Api", "max_stars_repo_stars_event_min_datetime": "2015-11-04T12:28:35.000Z", "max_stars_repo_stars_event_max_datetime": "2020-04-28T19:47:35.000Z", "max_issues_repo_path": "src/JwtWebApi/Client/books/books.js", "max_issues_repo_name": "stewartm83/Jwt-in-Asp.Net-Web-Api", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/JwtWebApi/Client/books/books.js", "max_forks_repo_name": "stewartm83/Jwt-in-Asp.Net-Web-Api", "max_forks_repo_forks_event_min_datetime": "2016-03-26T06:23:45.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-05T02:55:32.000Z"}
{"max_stars_count": 47, "max_issues_count": null, "max_forks_count": 36, "avg_line_length": 24.5185185185, "max_line_length": 52, "alphanum_fraction": 0.3459214502}
﻿(function() {
    "use strict";

    angular.module("jwtWebApp")
        .controller("BooksCtrl",
        [
            "$scope", "bookService",
            function($scope, bookService) {

                $scope.books = {};

                bookService.getBooks()
                    .then(
                        function(response) {
                            console.log(response);
                            $scope.books = response;
                        },
                        function(error) {
                            console.log(error);
                        });

                $scope.isSuccess = true;

            }
        ]);

})();