text: "use strict";var app=angular.module("swagger",["ngSanitize","swaggerUi"]).config(["$httpProvider",function(a){a.interceptors.push(["$q","$rootScope",function(a,b){return{request:function(c){return b.token&&(c.headers.Authorization="JWT "+b.token),c||a.when(c)},response:function(b){return b||a.when(b)},responseError:function(b){return a.reject(b)},requestError:function(b){return a.reject(b)}}}])}]).controller("MyCtrl",["$scope",function(a){a.isLoading=!1,a.url=a.swaggerUrl="api/swagger.json",a.myErrorHandler=function(a,b){console.log("failed to load swagger: "+b+"   "+a)}}]);angular.module("Config",[]).constant("ENV",{name:"production",apiEndpoint:"/"});