var APIBuilder = (function () {
  function APIBuilder($http, topLevelResource, baseUrl) {
    _classCallCheck(this, APIBuilder);

    this.$http = $http;