搭建项目学习框架(五,获取数据后,前端的渲染)

Posted 韶光不负

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了搭建项目学习框架(五,获取数据后,前端的渲染)相关的知识,希望对你有一定的参考价值。

Java操作数据库获取后端的数据https://blog.csdn.net/weixin_47514459/article/details/124688892

当我们获取到后端数据后,就需要将后端数据传输到前端当中,前端进行渲染,将数据进行美化。

目录

前端渲染方式

Angular JS(小编使用)

特点:

1,支持MVC模式(模型,视图,控制器)

2,支持双向数据绑定(!!!)

3,依赖注入(!!!)

Vue(不详细解答)

使用Angular JS 表达式(先绑定app模块,绑定模型,绑定事件,调用事件)

1,导入Angular JS库

2,表达式

 3,双向数据的绑定(ng-model  :双向绑定,在修改输入域的值时, AngularJS 属性的值也将修改)

 4,初始化学习(ng-init 指令执行给定的表达式。

5,创建简单控制器 ( app.controller())

6,提升难度,控制器事件(ng-click 指令告诉了 AngularJS HTML 元素被点击后需要执行的操作)

7,定义集合(  $scope.list),循环的学习(ng-repeat="entity in list")

8,定义对象集合,遍历集合

 9,以json文件方式发送请求,遍历数据

根据数据库返回数据在网页上进行渲染


前端渲染方式

Angular JS(小编使用)

2009年创建的框架,谷歌使用比较多,

特点:

1,支持MVC模式(模型,视图,控制器)

表示方式:

        

模型$scope.xxx($sxope是Angular JS的内置对象,xxx是自己名命的变量名称或对象名称)
视图页面就是HTML
控制器controller

2,支持双向数据绑定(!!!)

当前端与后端数据进行绑定,当我们前端的数据进行修改后,后端数据也会进行修改,反之一样。

3,依赖注入(!!!)

将服务注入到控制器中

Vue(不详细解答)

使用Angular JS 表达式(先绑定app模块,绑定模型,绑定事件,调用事件

1,导入Angular JS库

/* AngularJS v1.2.9 */
(function(Z,Q,r)'use strict';function F(b)return function()var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.2.9/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURIComponent("function"==typeof arguments[c]?arguments[c].toString().replace(/ \\[\\s\\S]*$/,""):"undefined"==typeof arguments[c]?"undefined":"string"!=typeof arguments[c]?JSON.stringify(arguments[c]):arguments[c]);return Error(a)function rb(b)if(null==b||Aa(b))return!1;var a=
b.length;return 1===b.nodeType&&a?!0:D(b)||K(b)||0===a||"number"===typeof a&&0<a&&a-1 in bfunction q(b,a,c)var d;if(b)if(L(b))for(d in b)"prototype"==d||("length"==d||"name"==d||b.hasOwnProperty&&!b.hasOwnProperty(d))||a.call(c,b[d],d);else if(b.forEach&&b.forEach!==q)b.forEach(a,c);else if(rb(b))for(d=0;d<b.length;d++)a.call(c,b[d],d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return bfunction Pb(b)var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()function Pc(b,
a,c)for(var d=Pb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return dfunction Qb(b)return function(a,c)b(c,a)function Za()for(var b=ka.length,a;b;)b--;a=ka[b].charCodeAt(0);if(57==a)return ka[b]="A",ka.join("");if(90==a)ka[b]="0";else return ka[b]=String.fromCharCode(a+1),ka.join("")ka.unshift("0");return ka.join("")function Rb(b,a)a?b.$$hashKey=a:delete b.$$hashKeyfunction t(b)var a=b.$$hashKey;q(arguments,function(a)a!==b&&q(a,function(a,c)b[c]=a));Rb(b,a);return bfunction S(b)return parseInt(b,
10)function Sb(b,a)return t(new (t(function(),prototype:b)),a)function w()function Ba(b)return bfunction $(b)return function()return bfunction z(b)return"undefined"===typeof bfunction B(b)return"undefined"!==typeof bfunction X(b)return null!=b&&"object"===typeof bfunction D(b)return"string"===typeof bfunction sb(b)return"number"===typeof bfunction La(b)return"[object Date]"===$a.call(b)function K(b)return"[object Array]"===$a.call(b)function L(b)return"function"===typeof b
function ab(b)return"[object RegExp]"===$a.call(b)function Aa(b)return b&&b.document&&b.location&&b.alert&&b.setIntervalfunction Qc(b)return!(!b||!(b.nodeName||b.on&&b.find))function Rc(b,a,c)var d=[];q(b,function(b,g,f)d.push(a.call(c,b,g,f)));return dfunction bb(b,a)if(b.indexOf)return b.indexOf(a);for(var c=0;c<b.length;c++)if(a===b[c])return c;return-1function Ma(b,a)var c=bb(b,a);0<=c&&b.splice(c,1);return afunction aa(b,a)if(Aa(b)||b&&b.$evalAsync&&b.$watch)throw Na("cpws");if(a)if(b===
a)throw Na("cpi");if(K(b))for(var c=a.length=0;c<b.length;c++)a.push(aa(b[c]));elsec=a.$$hashKey;q(a,function(b,c)delete a[c]);for(var d in b)a[d]=aa(b[d]);Rb(a,c)else(a=b)&&(K(b)?a=aa(b,[]):La(b)?a=new Date(b.getTime()):ab(b)?a=RegExp(b.source):X(b)&&(a=aa(b,)));return afunction Tb(b,a)a=a||;for(var c in b)b.hasOwnProperty(c)&&("$"!==c.charAt(0)&&"$"!==c.charAt(1))&&(a[c]=b[c]);return afunction ua(b,a)if(b===a)return!0;if(null===b||null===a)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,
d;if(c==typeof a&&"object"==c)if(K(b))if(!K(a))return!1;if((c=b.length)==a.length)for(d=0;d<c;d++)if(!ua(b[d],a[d]))return!1;return!0elseif(La(b))return La(a)&&b.getTime()==a.getTime();if(ab(b)&&ab(a))return b.toString()==a.toString();if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||Aa(b)||Aa(a)||K(a))return!1;c=;for(d in b)if("$"!==d.charAt(0)&&!L(b[d]))if(!ua(b[d],a[d]))return!1;c[d]=!0for(d in a)if(!c.hasOwnProperty(d)&&"$"!==d.charAt(0)&&a[d]!==r&&!L(a[d]))return!1;return!0return!1
function Ub()return Q.securityPolicy&&Q.securityPolicy.isActive||Q.querySelector&&!(!Q.querySelector("[ng-csp]")&&!Q.querySelector("[data-ng-csp]"))function cb(b,a)var c=2<arguments.length?va.call(arguments,2):[];return!L(a)||a instanceof RegExp?a:c.length?function()return arguments.length?a.apply(b,c.concat(va.call(arguments,0))):a.apply(b,c):function()return arguments.length?a.apply(b,arguments):a.call(b)function Sc(b,a)var c=a;"string"===typeof b&&"$"===b.charAt(0)?c=r:Aa(a)?c="$WINDOW":
a&&Q===a?c="$DOCUMENT":a&&(a.$evalAsync&&a.$watch)&&(c="$SCOPE");return cfunction qa(b,a)return"undefined"===typeof b?r:JSON.stringify(b,Sc,a?"  ":null)function Vb(b)return D(b)?JSON.parse(b):bfunction Oa(b)"function"===typeof b?b=!0:b&&0!==b.length?(b=x(""+b),b=!("f"==b||"0"==b||"false"==b||"no"==b||"n"==b||"[]"==b)):b=!1;return bfunction ga(b)b=A(b).clone();tryb.empty()catch(a)var c=A("<div>").append(b).html();tryreturn 3===b[0].nodeType?x(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\\w\\-]+)/,
function(a,b)return"<"+x(b))catch(d)return x(c)function Wb(b)tryreturn decodeURIComponent(b)catch(a)function Xb(b)var a=,c,d;q((b||"").split("&"),function(b)b&&(c=b.split("="),d=Wb(c[0]),B(d)&&(b=B(c[1])?Wb(c[1]):!0,a[d]?K(a[d])?a[d].push(b):a[d]=[a[d],b]:a[d]=b)));return afunction Yb(b)var a=[];q(b,function(b,d)K(b)?q(b,function(b)a.push(wa(d,!0)+(!0===b?"":"="+wa(b,!0)))):a.push(wa(d,!0)+(!0===b?"":"="+wa(b,!0))));return a.length?a.join("&"):""function tb(b)return wa(b,
!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")function wa(b,a)return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,a?"%20":"+")function Tc(b,a)function c(a)a&&d.push(a)var d=[b],e,g,f=["ng:app","ng-app","x-ng-app","data-ng-app"],h=/\\sng[:\\-]app(:\\s*([\\w\\d_]+);?)?\\s/;q(f,function(a)f[a]=!0;c(Q.getElementById(a));a=a.replace(":","\\\\:");b.querySelectorAll&&(q(b.querySelectorAll("."+a),c),q(b.querySelectorAll("."+
a+"\\\\:"),c),q(b.querySelectorAll("["+a+"]"),c)));q(d,function(a)if(!e)var b=h.exec(" "+a.className+" ");b?(e=a,g=(b[2]||"").replace(/\\s+/g,",")):q(a.attributes,function(b)!e&&f[b.name]&&(e=a,g=b.value)));e&&a(e,g?[g]:[])function Zb(b,a)var c=function()b=A(b);if(b.injector())var c=b[0]===Q?"document":ga(b);throw Na("btstrpd",c);a=a||[];a.unshift(["$provide",function(a)a.value("$rootElement",b)]);a.unshift("ng");c=$b(a);c.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",
function(a,b,c,d,e)a.$apply(function()b.data("$injector",d);c(b)(a))]);return c,d=/^NG_DEFER_BOOTSTRAP!/;if(Z&&!d.test(Z.name))return c();Z.name=Z.name.replace(d,"");Ca.resumeBootstrap=function(b)q(b,function(b)a.push(b));c()function db(b,a)a=a||"_";return b.replace(Uc,function(b,d)return(d?a:"")+b.toLowerCase())function ub(b,a,c)if(!b)throw Na("areq",a||"?",c||"required");return bfunction Pa(b,a,c)c&&K(b)&&(b=b[b.length-1]);ub(L(b),a,"not a function, got "+(b&&"object"==typeof b?
b.constructor.name||"Object":typeof b));return bfunction xa(b,a)if("hasOwnProperty"===b)throw Na("badname",a);function vb(b,a,c)if(!a)return b;a=a.split(".");for(var d,e=b,g=a.length,f=0;f<g;f++)d=a[f],b&&(b=(e=b)[d]);return!c&&L(b)?cb(e,b):bfunction wb(b)var a=b[0];b=b[b.length-1];if(a===b)return A(a);var c=[a];doa=a.nextSibling;if(!a)break;c.push(a)while(a!==b);return A(c)function Vc(b)var a=F("$injector"),c=F("ng");b=b.angular||(b.angular=);b.$$minErr=b.$$minErr||F;return b.module||
(b.module=function()var b=;return function(e,g,f)if("hasOwnProperty"===e)throw c("badname","module");g&&b.hasOwnProperty(e)&&(b[e]=null);return b[e]||(b[e]=function()function b(a,d,e)return function()c[e||"push"]([a,d,arguments]);return nif(!g)throw a("nomod",e);var c=[],d=[],l=b("$injector","invoke"),n=_invokeQueue:c,_runBlocks:d,requires:g,name:e,provider:b("$provide","provider"),factory:b("$provide","factory"),service:b("$provide","service"),value:b("$provide","value"),constant:b("$provide",
"constant","unshift"),animation:b("$animateProvider","register"),filter:b("$filterProvider","register"),controller:b("$controllerProvider","register"),directive:b("$compileProvider","directive"),config:l,run:function(a)d.push(a);return this;f&&l(f);return n())())function Qa(b)return b.replace(Wc,function(a,b,d,e)return e?d.toUpperCase():d).replace(Xc,"Moz$1")function xb(b,a,c,d)function e(b)var e=c&&b?[this.filter(b)]:[this],m=a,k,l,n,p,s,C;if(!d||null!=b)for(;e.length;)for(k=e.shift(),
l=0,n=k.length;l<n;l++)for(p=A(k[l]),m?p.triggerHandler("$destroy"):m=!m,s=0,p=(C=p.children()).length;s<p;s++)e.push(Da(C[s]));return g.apply(this,arguments)var g=Da.fn[b],g=g.$original||g;e.$original=g;Da.fn[b]=efunction O(b)if(b instanceof O)return b;if(!(this instanceof O))if(D(b)&&"<"!=b.charAt(0))throw yb("nosel");return new O(b)if(D(b))var a=Q.createElement("div");a.innerHTML="<div>&#160;</div>"+b;a.removeChild(a.firstChild);zb(this,a.childNodes);A(Q.createDocumentFragment()).append(this)else zb(this,
b)function Ab(b)return b.cloneNode(!0)function Ea(b)ac(b);var a=0;for(b=b.childNodes||[];a<b.length;a++)Ea(b[a])function bc(b,a,c,d)if(B(d))throw yb("offargs");var e=la(b,"events");la(b,"handle")&&(z(a)?q(e,function(a,c)Bb(b,c,a);delete e[c]):q(a.split(" "),function(a)z(c)?(Bb(b,a,e[a]),delete e[a]):Ma(e[a]||[],c)))function ac(b,a)var c=b[eb],d=Ra[c];d&&(a?delete Ra[c].data[a]:(d.handle&&(d.events.$destroy&&d.handle(,"$destroy"),bc(b)),delete Ra[c],b[eb]=r))function la(b,a,c)var d=
b[eb],d=Ra[d||-1];if(B(c))d||(b[eb]=d=++Yc,d=Ra[d]=),d[a]=c;else return d&&d[a]function cc(b,a,c)var d=la(b,"data"),e=B(c),g=!e&&B(a),f=g&&!X(a);d||f||la(b,"data",d=);if(e)d[a]=c;else if(g)if(f)return d&&d[a];t(d,a)else return dfunction Cb(b,a)return b.getAttribute?-1<(" "+(b.getAttribute("class")||"")+" ").replace(/[\\n\\t]/g," ").indexOf(" "+a+" "):!1function Db(b,a)a&&b.setAttribute&&q(a.split(" "),function(a)b.setAttribute("class",ba((" "+(b.getAttribute("class")||"")+" ").replace(/[\\n\\t]/g,
" ").replace(" "+ba(a)+" "," "))))function Eb(b,a)if(a&&b.setAttribute)var c=(" "+(b.getAttribute("class")||"")+" ").replace(/[\\n\\t]/g," ");q(a.split(" "),function(a)a=ba(a);-1===c.indexOf(" "+a+" ")&&(c+=a+" "));b.setAttribute("class",ba(c))function zb(b,a)if(a)a=a.nodeName||!B(a.length)||Aa(a)?[a]:a;for(var c=0;c<a.length;c++)b.push(a[c])function dc(b,a)return fb(b,"$"+(a||"ngController")+"Controller")function fb(b,a,c)b=A(b);9==b[0].nodeType&&(b=b.find("html"));for(a=K(a)?a:[a];b.length;)for(var d=
0,e=a.length;d<e;d++)if((c=b.data(a[d]))!==r)return c;b=b.parent()function ec(b)for(var a=0,c=b.childNodes;a<c.length;a++)Ea(c[a]);for(;b.firstChild;)b.removeChild(b.firstChild)function fc(b,a)var c=gb[a.toLowerCase()];return c&&gc[b.nodeName]&&cfunction Zc(b,a)var c=function(c,e)c.preventDefault||(c.preventDefault=function()c.returnValue=!1);c.stopPropagation||(c.stopPropagation=function()c.cancelBubble=!0);c.target||(c.target=c.srcElement||Q);if(z(c.defaultPrevented))var g=c.preventDefault;
c.preventDefault=function()c.defaultPrevented=!0;g.call(c);c.defaultPrevented=!1c.isDefaultPrevented=function()return c.defaultPrevented||!1===c.returnValue;var f=Tb(a[e||c.type]||[]);q(f,function(a)a.call(b,c));8>=M?(c.preventDefault=null,c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented);c.elem=b;return cfunction Fa(b)var a=typeof b,c;"object"==a&&null!==b?"function"==typeof(c=b.$$hashKey)?c=b.$$hashKey():c===
r&&(c=b.$$hashKey=Za()):c=b;return a+":"+cfunction Sa(b)q(b,this.put,this)function hc(b)var a,c;"function"==typeof b?(a=b.$inject)||(a=[],b.length&&(c=b.toString().replace($c,""),c=c.match(ad),q(c[1].split(bd),function(b)b.replace(cd,function(b,c,d)a.push(d)))),b.$inject=a):K(b)?(c=b.length-1,Pa(b[c],"fn"),a=b.slice(0,c)):Pa(b,"fn",!0);return afunction $b(b)function a(a)return function(b,c)if(X(b))q(b,Qb(a));else return a(b,c)function c(a,b)xa(a,"service");if(L(b)||K(b))b=n.instantiate(b);
if(!b.$get)throw Ta("pget",a);return l[a+h]=bfunction d(a,b)return c(a,$get:b)function e(a)var b=[],c,d,g,h;q(a,function(a)if(!k.get(a))k.put(a,!0);tryif(D(a))for(c=Ua(a),b=b.concat(e(c.requires)).concat(c._runBlocks),d=c._invokeQueue,g=0,h=d.length;g<h;g++)var f=d[g],m=n.get(f[0]);m[f[1]].apply(m,f[2])else L(a)?b.push(n.invoke(a)):K(a)?b.push(n.invoke(a)):Pa(a,"module")catch(s)throw K(a)&&(a=a[a.length-1]),s.message&&(s.stack&&-1==s.stack.indexOf(s.message))&&(s=s.message+"\\n"+s.stack),
Ta("modulerr",a,s.stack||s.message||s););return bfunction g(a,b)function c(d)if(a.hasOwnProperty(d))if(a[d]===f)throw Ta("cdep",m.join(" <- "));return a[d]tryreturn m.unshift(d),a[d]=f,a[d]=b(d)catch(e)throw a[d]===f&&delete a[d],e;finallym.shift()function d(a,b,e)var g=[],h=hc(a),f,k,m;k=0;for(f=h.length;k<f;k++)m=h[k];if("string"!==typeof m)throw Ta("itkn",m);g.push(e&&e.hasOwnProperty(m)?e[m]:c(m))a.$inject||(a=a[f]);return a.apply(b,g)returninvoke:d,instantiate:function(a,
b)var c=function(),e;c.prototype=(K(a)?a[a.length-1]:a).prototype;c=new c;e=d(a,c,b);return X(e)||L(e)?e:c,get:c,annotate:hc,has:function(b)return l.hasOwnProperty(b+h)||a.hasOwnProperty(b)var f=,h="Provider",m=[],k=new Sa,l=$provide:provider:a(c),factory:a(d),service:a(function(a,b)return d(a,["$injector",function(a)return a.instantiate(b)])),value:a(function(a,b)return d(a,$(b))),constant:a(function(a,b)xa(a,"constant");l[a]=b;p[a]=b),decorator:function(a,b)var c=n.get(a+h),
d=c.$get;c.$get=function()var a=s.invoke(d,c);return s.invoke(b,null,$delegate:a),n=l.$injector=g(l,function()throw Ta("unpr",m.join(" <- "));),p=,s=p.$injector=g(p,function(a)a=n.get(a+h);return s.invoke(a.$get,a));q(e(b),function(a)s.invoke(a||w));return sfunction dd()var b=!0;this.disableAutoScrolling=function()b=!1;this.$get=["$window","$location","$rootScope",function(a,c,d)function e(a)var b=null;q(a,function(a)b||"a"!==x(a.nodeName)||(b=a));return bfunction g()var b=
c.hash(),d;b?(d=f.getElementById(b))?d.scrollIntoView():(d=e(f.getElementsByName(b)))?d.scrollIntoView():"top"===b&&a.scrollTo(0,0):a.scrollTo(0,0)var f=a.document;b&&d.$watch(function()return c.hash(),function()d.$evalAsync(g));return g]function ed(b,a,c,d)function e(a)trya.apply(null,va.call(arguments,1))finallyif(C--,0===C)for(;y.length;)tryy.pop()()catch(b)c.error(b)function g(a,b)(function T()q(E,function(a)a());u=b(T,a))()function f()v=null;R!=h.url()&&(R=h.url(),q(ha,
function(a)a(h.url())))var h=this,m=a[0],k=b.location,l=b.history,n=b.setTimeout,p=b.clearTimeout,s=;h.isMock=!1;var C=0,y=[];h.$$completeOutstandingRequest=e;h.$$incOutstandingRequestCount=function()C++;h.notifyWhenNoOutstandingRequests=function(a)q(E,function(a)a());0===C?a():y.push(a);var E=[],u;h.addPollFn=function(a)z(u)&&g(100,n);E.push(a);return a;var R=k.href,H=a.find("base"),v=null;h.url=function(a,c)k!==b.location&&(k=b.location);l!==b.history&&(l=b.history);if(a)if(R!=a)return R=
a,d.history?c?l.replaceState(null,"",a):(l.pushState(null,"",a),H.attr("href",H.attr("href"))):(v=a,c?k.replace(a):k.href=a),helse return v||k.href.replace(/%27/g,"'");var ha=[],N=!1;h.onUrlChange=function(a)if(!N)if(d.history)A(b).on("popstate",f);if(d.hashchange)A(b).on("hashchange",f);else h.addPollFn(f);N=!0ha.push(a);return a;h.baseHref=function()var a=H.attr("href");return a?a.replace(/^(https?\\:)?\\/\\/[^\\/]*/,""):"";var V=,J="",ca=h.baseHref();h.cookies=function(a,b)var d,e,g,h;if(a)b===
r?m.cookie=escape(a)+"=;path="+ca+";expires=Thu, 01 Jan 1970 00:00:00 GMT":D(b)&&(d=(m.cookie=escape(a)+"="+escape(b)+";path="+ca).length+1,4096<d&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!"));elseif(m.cookie!==J)for(J=m.cookie,d=J.split("; "),V=,g=0;g<d.length;g++)e=d[g],h=e.indexOf("="),0<h&&(a=unescape(e.substring(0,h)),V[a]===r&&(V[a]=unescape(e.substring(h+1))));return V;h.defer=function(a,b)var c;C++;c=n(function()delete s[c];
e(a),b||0);s[c]=!0;return c;h.defer.cancel=function(a)return s[a]?(delete s[a],p(a),e(w),!0):!1function fd()this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d)return new ed(b,d,a,c)]function gd()this.$get=function()function b(b,d)function e(a)a!=n&&(p?p==a&&(p=a.n):p=a,g(a.n,a.p),g(a,n),n=a,n.n=null)function g(a,b)a!=b&&(a&&(a.p=b),b&&(b.n=a))if(b in a)throw F("$cacheFactory")("iid",b);var f=0,h=t(,d,id:b),m=,k=d&&d.capacity||Number.MAX_VALUE,l=,n=null,p=null;
return a[b]=put:function(a,b)var c=l[a]||(l[a]=key:a);e(c);if(!z(b))return a in m||f++,m[a]=b,f>k&&this.remove(p.key),b,get:function(a)var b=l[a];if(b)return e(b),m[a],remove:function(a)var b=l[a];b&&(b==n&&(n=b.p),b==p&&(p=b.n),g(b.n,b.p),delete l[a],delete m[a],f--),removeAll:function()m=;f=0;l=;n=p=null,destroy:function()l=h=m=null;delete a[b],info:function()return t(,h,size:f)var a=;b.info=function()var b=;q(a,function(a,e)b[e]=a.info());return b;b.get=function(b)return a[b];
return bfunction hd()this.$get=["$cacheFactory",function(b)return b("templates")]function jc(b,a)var c=,d="Directive",e=/^\\s*directive\\:\\s*([\\d\\w\\-_]+)\\s+(.*)$/,g=/(([\\d\\w\\-_]+)(?:\\:([^;]+))?;?)/,f=/^(on[a-z]+|formaction)$/;this.directive=function m(a,e)xa(a,"directive");D(a)?(ub(e,"directiveFactory"),c.hasOwnProperty(a)||(c[a]=[],b.factory(a+d,["$injector","$exceptionHandler",function(b,d)var e=[];q(c[a],function(c,g)tryvar f=b.invoke(c);L(f)?f=compile:$(f):!f.compile&&f.link&&(f.compile=
$(f.link));f.priority=f.priority||0;f.index=g;f.name=f.name||a;f.require=f.require||f.controller&&f.name;f.restrict=f.restrict||"A";e.push(f)catch(m)d(m));return e])),c[a].push(e)):q(a,Qb(m));return this;this.aHrefSanitizationWhitelist=function(b)return B(b)?(a.aHrefSanitizationWhitelist(b),this):a.aHrefSanitizationWhitelist();this.imgSrcSanitizationWhitelist=function(b)return B(b)?(a.imgSrcSanitizationWhitelist(b),this):a.imgSrcSanitizationWhitelist();this.$get=["$injector","$interpolate",
"$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(a,b,l,n,p,s,C,y,E,u,R,H)function v(a,b,c,d,e)a instanceof A||(a=A(a));q(a,function(b,c)3==b.nodeType&&b.nodeValue.match(/\\S+/)&&(a[c]=A(b).wrap("<span></span>").parent()[0]));var g=N(a,b,a,c,d,e);ha(a,"ng-scope");return function(b,c,d)ub(b,"scope");var e=c?Ga.clone.call(a):a;q(d,function(a,b)e.data("$"+b+"Controller",a));d=0;for(var f=e.length;d<f;d++)var m=
e[d].nodeType;1!==m&&9!==m||e.eq(d).data("$scope",b)c&&c(e,b);g&&g(b,e,e);return efunction ha(a,b)trya.addClass(b)catch(c)function N(a,b,c,d,e,g)function f(a,c,d,e)var g,k,s,l,n,p,I;g=c.length;var C=Array(g);for(n=0;n<g;n++)C[n]=c[n];I=n=0;for(p=m.length;n<p;I++)k=C[I],c=m[n++],g=m[n++],s=A(k),c?(c.scope?(l=a.$new(),s.data("$scope",l)):l=a,(s=c.transclude)||!e&&b?c(g,l,k,d,V(a,s||b)):c(g,l,k,d,e)):g&&g(a,k.childNodes,r,e)for(var m=[],k,s,l,n,p=0;p<a.length;p++)k=new Fb,s=J(a[p],[],k,0===
p?d:r,e),(g=s.length?ia(s,a[p],k,b,c,null,[],[],g):null)&&g.scope&&ha(A(a[p]),"ng-scope"),k=g&&g.terminal||!(l=a[p].childNodes)||!l.length?null:N(l,g?g.transclude:b),m.push(g,k),n=n||g||k,g=null;return n?f:nullfunction V(a,b)return function(c,d,e)var g=!1;c||(c=a.$new(),g=c.$$transcluded=!0);d=b(c,d,e);if(g)d.on("$destroy",cb(c,c.$destroy));return dfunction J(a,b,c,d,f)var k=c.$attr,m;switch(a.nodeType)case 1:T(b,ma(Ha(a).toLowerCase()),"E",d,f);var s,l,n;m=a.attributes;for(var p=0,C=m&&m.length;p<
C;p++)var y=!1,R=!1;s=m[p];if(!M||8<=M||s.specified)l=s.name;n=ma(l);W.test(n)&&(l=db(n.substr(6),"-"));var v=n.replace(/(Start|End)$/,"");n===v+"Start"&&(y=l,R=l.substr(0,l.length-5)+"end",l=l.substr(0,l.length-6));n=ma(l.toLowerCase());k[n]=l;c[n]=s=ba(s.value);fc(a,n)&&(c[n]=!0);S(a,b,s,n);T(b,n,"A",d,f,y,R)a=a.className;if(D(a)&&""!==a)for(;m=g.exec(a);)n=ma(m[2]),T(b,n,"C",d,f)&&(c[n]=ba(m[3])),a=a.substr(m.index+m[0].length);break;case 3:F(b,a.nodeValue);break;case 8:tryif(m=e.exec(a.nodeValue))n=
ma(m[1]),T(b,n,"M",d,f)&&(c[n]=ba(m[2]))catch(E)b.sort(z);return bfunction ca(a,b,c)var d=[],e=0;if(b&&a.hasAttribute&&a.hasAttribute(b))doif(!a)throw ja("uterdir",b,c);1==a.nodeType&&(a.hasAttribute(b)&&e++,a.hasAttribute(c)&&e--);d.push(a);a=a.nextSiblingwhile(0<e)else d.push(a);return A(d)function P(a,b,c)return function(d,e,g,f,m)e=ca(e[0],b,c);return a(d,e,g,f,m)function ia(a,c,d,e,g,f,m,n,p)function y(a,b,c,d)if(a)c&&(a=P(a,c,d));a.require=G.require;if(H===G||G.$$isolateScope)a=
kc(a,isolateScope:!0);m.push(a)if(b)c&&(b=P(b,c,d));b.require=G.require;if(H===G||G.$$isolateScope)b=kc(b,isolateScope:!0);n.push(b)function R(a,b,c)var d,e="data",g=!1;if(D(a))for(;"^"==(d=a.charAt(0))||"?"==d;)a=a.substr(1),"^"==d&&(e="inheritedData"),g=g||"?"==d;d=null;c&&"data"===e&&(d=c[a]);d=d||b[e]("$"+a+"Controller");if(!d&&!g)throw ja("ctreq",a,da);else K(a)&&(d=[],q(a,function(a)d.push(R(a,b,c))));return dfunction E(a,e,g,f,p)function y(a,b)var c;2>arguments.length&&(b=a,
a=r);z&&(c=ca);return p(a,b,c)var I,v,N,u,P,J,ca=,hb;I=c===g?d:Tb(d,new Fb(A(g),d.$attr));v=I.$$element;if(H)var T=/^\\s*([@=&])(\\??)\\s*(\\w*)\\s*$/;f=A(g);J=e.$new(!0);ia&&ia===H.$$originalDirective?f.data("$isolateScope",J):f.data("$isolateScopeNoTemplate",J);ha(f,"ng-isolate-scope");q(H.scope,function(a,c)var d=a.match(T)||[],g=d[3]||c,f="?"==d[2],d=d[1],m,l,n,p;J.$$isolateBindings[c]=d+g;switch(d)case "@":I.$observe(g,function(a)J[c]=a);I.$$observers[g].$$scope=e;I[g]&&(J[c]=b(I[g])(e));
break;case "=":if(f&&!I[g])break;l=s(I[g]);p=l.literal?ua:function(a,b)return a===b;n=l.assign||function()m=J[c]=l(e);throw ja("nonassign",I[g],H.name);;m=J[c]=l(e);J.$watch(function()var a=l(e);p(a,J[c])||(p(a,m)?n(e,a=J[c]):J[c]=a);return m=a,null,l.literal);break;case "&":l=s(I[g]);J[c]=function(a)return l(e,a);break;default:throw ja("iscp",H.name,c,a);)hb=p&&y;V&&q(V,function(a)var b=$scope:a===H||a.$$isolateScope?J:e,$element:v,$attrs:I,$transclude:hb,c;P=a.controller;"@"==P&&(P=
I[a.name]);c=C(P,b);ca[a.name]=c;z||v.data("$"+a.name+"Controller",c);a.controllerAs&&(b.$scope[a.controllerAs]=c));f=0;for(N=m.length;f<N;f++)tryu=m[f],u(u.isolateScope?J:e,v,I,u.require&&R(u.require,v,ca),hb)catch(G)l(G,ga(v))f=e;H&&(H.template||null===H.templateUrl)&&(f=J);a&&a(f,g.childNodes,r,p);for(f=n.length-1;0<=f;f--)tryu=n[f],u(u.isolateScope?J:e,v,I,u.require&&R(u.require,v,ca),hb)catch(B)l(B,ga(v))p=p||;var N=-Number.MAX_VALUE,u,V=p.controllerDirectives,H=p.newIsolateScopeDirective,
ia=p.templateDirective;p=p.nonTlbTranscludeDirective;for(var T=!1,z=!1,t=d.$$element=A(c),G,da,U,F=e,O,M=0,na=a.length;M<na;M++)G=a[M];var Va=G.$$start,S=G.$$end;Va&&(t=ca(c,Va,S));U=r;if(N>G.priority)break;if(U=G.scope)u=u||G,G.templateUrl||(x("new/isolated scope",H,G,t),X(U)&&(H=G));da=G.name;!G.templateUrl&&G.controller&&(U=G.controller,V=V||,x("'"+da+"' controller",V[da],G,t),V[da]=G);if(U=G.transclude)T=!0,G.$$tlb||(x("transclusion",p,G,t),p=G),"element"==U?(z=!0,N=G.priority,U=ca(c,Va,S),
t=d.$$element=A(Q.createComment(" "+da+": "+d[da]+" ")),c=t[0],ib(g,A(va.call(U,0)),c),F=v(U,e,N,f&&f.name,nonTlbTranscludeDirective:p)):(U=A(Ab(c)).contents(),t.empty(),F=v(U,e));if(G.template)if(x("template",ia,G,t),ia=G,U=L(G.template)?G.template(t,d):G.template,U=Y(U),G.replace)f=G;U=A("<div>"+ba(U)+"</div>").contents();c=U[0];if(1!=U.length||1!==c.nodeType)throw ja("tplrt",da,"");ib(g,t,c);na=$attr:;U=J(c,[],na);var W=a.splice(M+1,a.length-(M+1));H&&ic(U);a=a.concat(U).concat(W);B(d,na);
na=a.lengthelse t.html(U);if(G.templateUrl)x("template",ia,G,t),ia=G,G.replace&&(f=G),E=w(a.splice(M,a.length-M),t,d,g,F,m,n,controllerDirectives:V,newIsolateScopeDirective:H,templateDirective:ia,nonTlbTranscludeDirective:p),na=a.length;else if(G.compile)tryO=G.compile(t,d,F),L(O)?y(null,O,Va,S):O&&y(O.pre,O.post,Va,S)catch(Z)l(Z,ga(t))G.terminal&&(E.terminal=!0,N=Math.max(N,G.priority))E.scope=u&&!0===u.scope;E.transclude=T&&F;return Efunction ic(a)for(var b=0,c=a.length;b<c;b++)a[b]=Sb(a[b],
$$isolateScope:!0)function T(b,e,g,f,k,s,n)if(e===k)return null;k=null;if(c.hasOwnProperty(e))var p;e=a.get(e+d);for(var C=0,y=e.length;C<y;C++)tryp=e[C],(f===r||f>p.priority)&&-1!=p.restrict.indexOf(g)&&(s&&(p=Sb(p,$$start:s,$$end:n)),b.push(p),k=p)catch(v)l(v)return kfunction B(a,b)var c=b.$attr,d=a.$attr,e=a.$$element;q(a,function(d,e)"$"!=e.charAt(0)&&(b[e]&&(d+=("style"===e?";":" ")+b[e]),a.$set(e,d,!0,c[e])));q(b,function(b,g)"class"==g?(ha(e,b),a["class"]=(a["class"]?a["class"]+
" ":"")+b):"style"==g?(e.attr("style",e.attr("style")+";"+b),a.style=(a.style?a.style+";":"")+b):"$"==g.charAt(0)||a.hasOwnProperty(g)||(a[g]=b,d[g]=c[g]))function w(a,b,c,d,e,g,f,m)var k=[],s,l,C=b[0],y=a.shift(),v=t(,y,templateUrl:null,transclude:null,replace:null,$$originalDirective:y),R=L(y.templateUrl)?y.templateUrl(b,c):y.templateUrl;b.empty();n.get(u.getTrustedResourceUrl(R),cache:p).success(function(n)var p,E;n=Y(n);if(y.replace)n=A("<div>"+ba(n)+"</div>").contents();p=n[0];if(1!=
n.length||1!==p.nodeType)throw ja("tplrt",y.name,R);n=$attr:;ib(d,b,p);var u=J(p,[],n);X(y.scope)&&ic(u);a=u.concat(a);B(c,n)else p=C,b.html(n);a.unshift(v);s=ia(a,p,c,e,b,y,g,f,m);q(d,function(a,c)a==p&&(d[c]=b[0]));for(l=N(b[0].childNodes,e);k.length;)n=k.shift();E=k.shift();var H=k.shift(),ha=k.shift(),u=b[0];E!==C&&(u=Ab(p),ib(H,A(E),u));E=s.transclude?V(n,s.transclude):ha;s(l,n,u,d,E)k=null).error(function(a,b,c,d)throw ja("tpload",d.url););return function(a,b,c,d,e)k?(k.push(b),
k.push(c),k.push(d),k.push(e)):s(l,b,c,d,e)function z(a,b)var c=b.priority-a.priority;return 0!==c?c:a.name!==b.name?a.name<b.name?-1:1:a.index-b.indexfunction x(a,b,c,d)if(b)throw ja("multidir",b.name,c.name,a,ga(d));function F(a,c)var d=b(c,!0);d&&a.push(priority:0,compile:$(function(a,b)var c=b.parent(),e=c.data("$binding")||[];e.push(d);ha(c.data("$binding",e),"ng-binding");a.$watch(d,function(a)b[0].nodeValue=a)))function O(a,b)if("srcdoc"==b)return u.HTML;var c=Ha(a);if("xlinkHref"==
b||"FORM"==c&&"action"==b||"IMG"!=c&&("src"==b||"ngSrc"==b))return u.RESOURCE_URLfunction S(a,c,d,e)var g=b(d,!0);if(g)if("multiple"===e&&"SELECT"===Ha(a))throw ja("selmulti",ga(a));c.push(priority:100,compile:function()returnpre:function(c,d,m)d=m.$$observers||(m.$$observers=);if(f.test(e))throw ja("nodomevents");if(g=b(m[e],!0,O(a,e)))m[e]=g(c),(d[e]||(d[e]=[])).$$inter=!0,(m.$$observers&&m.$$observers[e].$$scope||c).$watch(g,function(a,b)"class"===e&&a!=b?m.$updateClass(a,b):m.$set(e,
a)))function ib(a,b,c)var d=b[0],e=b.length,g=d.parentNode,f,m;if(a)for(f=0,m=a.length;f<m;f++)if(a[f]==d)a[f++]=c;m=f+e-1;for(var k=a.length;f<k;f++,m++)m<k?a[f]=a[m]:delete a[f];a.length-=e-1;breakg&&g.replaceChild(c,d);a=Q.createDocumentFragment();a.appendChild(d);c[A.expando]=d[A.expando];d=1;for(e=b.length;d<e;d++)g=b[d],A(g).remove(),a.appendChild(g),delete b[d];b[0]=c;b.length=1function kc(a,b)return t(function()return a.apply(null,arguments),a,b)var Fb=function(a,b)this.$$element=
a;this.$attr=b||;Fb.prototype=$normalize:ma,$addClass:function(a)a&&0<a.length&&R.addClass(this.$$element,a),$removeClass:function(a)a&&0<a.length&&R.removeClass(this.$$element,a),$updateClass:function(a,b)this.$removeClass(lc(b,a));this.$addClass(lc(a,b)),$set:function(a,b,c,d)var e=fc(this.$$element[0],a);e&&(this.$$element.prop(a,b),d=e);this[a]=b;d?this.$attr[a]=d:(d=this.$attr[a])||(this.$attr[a]=d=db(a,"-"));e=Ha(this.$$element);if("A"===e&&"href"===a||"IMG"===e&&"src"===a)this[a]=
b=H(b,"src"===a);!1!==c&&(null===b||b===r?this.$$element.removeAttr(d):this.$$element.attr(d,b));(c=this.$$observers)&&q(c[a],function(a)trya(b)catch(c)l(c)),$observe:function(a,b)var c=this,d=c.$$observers||(c.$$observers=),e=d[a]||(d[a]=[]);e.push(b);y.$evalAsync(function()e.$$inter||b(c[a]));return b;var da=b.startSymbol(),na=b.endSymbol(),Y=""==da||""==na?Ba:function(a)return a.replace(/\\\\/g,da).replace(//g,na),W=/^ngAttr[A-Z]/;return v]function ma(b)return Qa(b.replace(id,
""))function lc(b,a)var c="",d=b.split(/\\s+/),e=a.split(/\\s+/),g=0;a:for(;g<d.length;g++)for(var f=d[g],h=0;h<e.length;h++)if(f==e[h])continue a;c+=(0<c.length?" ":"")+freturn cfunction jd()var b=,a=/^(\\S+)(\\s+as\\s+(\\w+))?$/;this.register=function(a,d)xa(a,"controller");X(a)?t(b,a):b[a]=d;this.$get=["$injector","$window",function(c,d)return function(e,g)var f,h,m;D(e)&&(f=e.match(a),h=f[1],m=f[3],e=b.hasOwnProperty(h)?b[h]:vb(g.$scope,h,!0)||vb(d,h,!0),Pa(e,h,!0));f=c.instantiate(e,g);
if(m)if(!g||"object"!=typeof g.$scope)throw F("$controller")("noscp",h||e.name,m);g.$scope[m]=freturn f]function kd()this.$get=["$window",function(b)return A(b.document)]function ld()this.$get=["$log",function(b)return function(a,c)b.error.apply(b,arguments)]function mc(b)var a=,c,d,e;if(!b)return a;q(b.split("\\n"),function(b)e=b.indexOf(":");c=x(ba(b.substr(0,e)));d=ba(b.substr(e+1));c&&(a[c]=a[c]?a[c]+(", "+d):d));return afunction nc(b)var a=X(b)?b:r;return function(c)a||
(a=mc(b));return c?a[x(c)]||null:afunction oc(b,a,c)if(L(c))return c(b,a);q(c,function(c)b=c(b,a));return bfunction md()var b=/^\\s*(\\[|\\[^\\])/,a=/[\\\\]]\\s*$/,c=/^\\)\\]\\',?\\n/,d="Content-Type":"application/json;charset=utf-8",e=this.defaults=transformResponse:[function(d)D(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=Vb(d)));return d],transformRequest:[function(a)return X(a)&&"[object File]"!==$a.call(a)?qa(a):a],headers:common:Accept:"application/json, text/plain, */*",post:aa(d),
put:aa(d),patch:aa(d),xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",g=this.interceptors=[],f=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,b,c,d,n,p)function s(a)function c(a)var b=t(,a,data:oc(a.data,a.headers,d.transformResponse));return 200<=a.status&&300>a.status?b:n.reject(b)var d=transformRequest:e.transformRequest,transformResponse:e.transformResponse,g=function(a)function b(a)var c;q(a,function(b,
d)L(b)&&(c=b(),null!=c?a[d]=c:delete a[d]))var c=e.headers,d=t(,a.headers),g,f,c=t(,c.common,c[x(a.method)]);b(c);b(d);a:for(g in c)a=x(g);for(f in d)if(x(f)===a)continue a;d[g]=c[g]return d(a);t(d,a);d.headers=g;d.method=Ia(d.method);(a=Gb(d.url)?b.cookies()[d.xsrfCookieName||e.xsrfCookieName]:r)&&(g[d.xsrfHeaderName||e.xsrfHeaderName]=a);var f=[function(a)g=a.headers;var b=oc(a.data,nc(g),a.transformRequest);z(a.data)&&q(g,function(a,b)"content-type"===x(b)&&delete g[b]);z(a.withCredentials)&&
!z(e.withCredentials)&&(a.withCredentials=e.withCredentials);return C(a,b,g).then(c,c),r],h=n.when(d);for(q(u,function(a)(a.request||a.requestError)&&f.unshift(a.request,a.requestError);(a.response||a.responseError)&&f.push(a.response,a.responseError));f.length;)a=f.shift();var k=f.shift(),h=h.then(a,k)h.success=function(a)h.then(function(b)a(b.data,b.status,b.headers,d));return h;h.error=function(a)h.then(null,function(b)a(b.data,b.status,b.headers,d));return h;return hfunction C(b,
c,g)function f(a,b,c)u&&(200<=a&&300>a?u.put(r,[a,b,mc(c)]):u.remove(r));m(b,a,c);d.$$phase||d.$apply()function m(a,c,d)c=Math.max(c,0);(200<=c&&300>c?p.resolve:p.reject)(data:a,status:c,headers:nc(d),config:b)function k()var a=bb(s.pendingRequests,b);-1!==a&&s.pendingRequests.splice(a,1)var p=n.defer(),C=p.promise,u,q,r=y(b.url,b.params);s.pendingRequests.push(b);C.then(k,k);(b.cache||e.cache)&&(!1!==b.cache&&"GET"==b.method)&&(u=X(b.cache)?b.cache:X(e.cache)?e.cache:E);if(u)if(q=u.get(r),
B(q))if(q.then)return q.then(k,k),q;K(q)?m(q[1],q[0],aa(q[2])):m(q,200,)else u.put(r,C);z(q)&&a(b.method,r,c,f,g,b.timeout,b.withCredentials,b.responseType);return Cfunction y(a,b)if(!b)return a;var c=[];Pc(b,function(a,b)null===a||z(a)||(K(a)||(a=[a]),q(a,function(a)X(a)&&(a=qa(a));c.push(wa(b)+"="+wa(a)))));return a+(-1==a.indexOf("?")?"?":"&")+c.join("&")var E=c("$http"),u=[];q(g,function(a)u.unshift(D(a)?p.get(a):p.invoke(a)));q(f,function(a,b)var c=D(a)?p.get(a):p.invoke(a);u.splice(b,
0,response:function(a)return c(n.when(a)),responseError:function(a)return c(n.reject(a))));s.pendingRequests=[];(function(a)q(arguments,function(a)s[a]=function(b,c)return s(t(c||,method:a,url:b))))("get","delete","head","jsonp");(function(a)q(arguments,function(a)s[a]=function(b,c,d)return s(t(d||,method:a,url:b,data:c))))("post","put");s.defaults=e;return s]function nd(b)return 8>=M&&"patch"===x(b)?new ActiveXObject("Microsoft.XMLHTTP"):new Z.XMLHttpRequestfunction od()this.$get=
["$browser","$window","$document",function(b,a,c)return pd(b,nd,b.defer,a.angular.callbacks,c[0])]function pd(b,a,c,d,e)function g(a,b)var c=e.createElement("script"),d=function()c.onreadystatechange=c.onload=c.onerror=null;e.body.removeChild(c);b&&b();c.type="text/javascript";c.src=a;M&&8>=M?c.onreadystatechange=function()/loaded|complete/.test(c.readyState)&&d():c.onload=c.onerror=function()d();e.body.appendChild(c);return dvar f=-1;return function(e,m,k,l,n,p,s,C)function y()u=f;
H&&H();v&&v.abort()function E(a,d,e,g)r&&c.cancel(r);H=v=null;d=0===d?e?200:404:d;a(1223==d?204:d,e,g);b.$$completeOutstandingRequest(w)var u;b.$$incOutstandingRequestCount();m=m||b.url();if("jsonp"==x(e))var R="_"+(d.counter++).toString(36);d[R]=function(a)d[R].data=a;var H=g(m.replace("JSON_CALLBACK","angular.callbacks."+R),function()d[R].data?E(l,200,d[R].data):E(l,u||-2);d[R]=Ca.noop)elsevar v=a(e);v.open(e,m,!0);q(n,function(a,b)B(a)&&v.setRequestHeader(b,a));v.onreadystatechange=
function()if(v&&4==v.readyState)var a=null,b=null;u!==f&&(a=v.getAllResponseHeaders(),b="response"in v?v.response:v.responseText);E(l,u||v.status,b,a);s&&(v.withCredentials=!0);C&&(v.responseType=C);v.send(k||null)if(0<p)var r=c(y,p);else p&&p.then&&p.then(y)function qd()var b="",a="";this.startSymbol=function(a)return a?(b=a,this):b;this.endSymbol=function(b)return b?(a=b,this):a;this.$get=["$parse","$exceptionHandler","$sce",function(c,d,e)function g(g,k,l)for(var n,p,s=0,C=[],
y=g.length,E=!1,u=[];s<y;)-1!=(n=g.indexOf(b,s))&&-1!=(p=g.indexOf(a,n+f))?(s!=n&&C.push(g.substring(s,n)),C.push(s=c(E=g.substring(n+f,p))),s.exp=E,s=p+h,E=!0):(s!=y&&C.push(g.substring(s)),s=y);(y=C.length)||(C.push(""),y=1);if(l&&1<C.length)throw pc("noconcat",g);if(!k||E)return u.length=y,s=function(a)tryfor(var b=0,c=y,f;b<c;b++)"function"==typeof(f=C[b])&&(f=f(a),f=l?e.getTrusted(l,f):e.valueOf(f),null===f||z(f)?f="":"string"!=typeof f&&(f=qa(f))),u[b]=f;return u.join("")catch(h)a=pc("interr",
g,h.toString()),d(a),s.exp=g,s.parts=C,svar f=b.length,h=a.length;g.startSymbol=function()return b;g.endSymbol=function()return a;return g]function rd()this.$get=["$rootScope","$window","$q",function(b,a,c)function d(d,f,h,m)var k=a.setInterval,l=a.clearInterval,n=c.defer(),p=n.promise,s=0,C=B(m)&&!m;h=B(h)?h:0;p.then(null,null,d);p.$$intervalId=k(function()n.notify(s++);0<h&&s>=h&&(n.resolve(s),l(p.$$intervalId),delete e[p.$$intervalId]);C||b.$apply(),f);e[p.$$intervalId]=n;return p
var e=;d.cancel=function(a)return a&&a.$$intervalId in e?(e[a.$$intervalId].reject("canceled"),clearInterval(a.$$intervalId),delete e[a.$$intervalId],!0):!1;return d]function sd()this.$get=function()returnid:"en-us",NUMBER_FORMATS:DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3,minInt:1,minFrac:2,maxFrac:2,posPre:"\\u00a4",posSuf:"",negPre:"(\\u00a4",negSuf:")",gSize:3,lgSize:3],CURRENCY_SYM:"$",DATETIME_FORMATS:MONTH:"January February March April May June July August September October November December".split(" "),
SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a",pluralCat:function(b)return 1===b?"one":"other"function qc(b)b=b.split("/");for(var a=b.length;a--;)b[a]=
tb(b[a]);return b.join("/")function rc(b,a,c)b=ya(b,c);a.$$protocol=b.protocol;a.$$host=b.hostname;a.$$port=S(b.port)||td[b.protocol]||nullfunction sc(b,a,c)var d="/"!==b.charAt(0);d&&(b="/"+b);b=ya(b,c);a.$$path=decodeURIComponent(d&&"/"===b.pathname.charAt(0)?b.pathname.substring(1):b.pathname);a.$$search=Xb(b.search);a.$$hash=decodeURIComponent(b.hash);a.$$path&&"/"!=a.$$path.charAt(0)&&(a.$$path="/"+a.$$path)function oa(b,a)if(0===a.indexOf(b))return a.substr(b.length)function Wa(b)var a=
b.indexOf("#");return-1==a?b:b.substr(0,a)function Hb(b)return b.substr(0,Wa(b).lastIndexOf("/")+1)function tc(b,a)this.$$html5=!0;a=a||"";var c=Hb(b);rc(b,this,b);this.$$parse=function(a)var e=oa(c,a);if(!D(e))throw Ib("ipthprfx",a,c);sc(e,this,b);this.$$path||(this.$$path="/");this.$$compose();this.$$compose=function()var a=Yb(this.$$search),b=this.$$hash?"#"+tb(this.$$hash):"";this.$$url=qc(this.$$path)+(a?"?"+a:"")+b;this.$$absUrl=c+this.$$url.substr(1);this.$$rewrite=function(d)var e;
if((e=oa(b,d))!==r)return d=e,(e=oa(a,e))!==r?c+(oa("/",e)||e):b+d;if((e=oa(c,d))!==r)return c+e;if(c==d+"/")return cfunction Jb(b,a)var c=Hb(b);rc(b,this,b);this.$$parse=function(d)var e=oa(b,d)||oa(c,d),e="#"==e.charAt(0)?oa(a,e):this.$$html5?e:"";if(!D(e))throw Ib("ihshprfx",d,a);sc(e,this,b);d=this.$$path;var g=/^\\/?.*?:(\\/.*)/;0===e.indexOf(b)&&(e=e.replace(b,""));g.exec(e)||(d=(e=g.exec(d))?e[1]:d);this.$$path=d;this.$$compose();this.$$compose=function()var c=Yb(this.$$search),e=this.$$hash?
"#"+tb(this.$$hash):"";this.$$url=qc(this.$$path)+(c?"?"+c:"")+e;this.$$absUrl=b+(this.$$url?a+this.$$url:"");this.$$rewrite=function(a)if(Wa(b)==Wa(a))return afunction uc(b,a)this.$$html5=!0;Jb.apply(this,arguments);var c=Hb(b);this.$$rewrite=function(d)var e;if(b==Wa(d))return d;if(e=oa(c,d))return b+a+e;if(c===d+"/")return cfunction jb(b)return function()return this[b]function vc(b,a)return function(c)if(z(c))return this[b];this[b]=a(c);this.$$compose();return thisfunction ud()var b=
"",a=!1;this.hashPrefix=function(a)return B(a)?(b=a,this):b;this.html5Mode=function(b)return B(b)?(a=b,this):a;this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(c,d,e,g)function f(a)c.$broadcast("$locationChangeSuccess",h.absUrl(),a)var h,m=d.baseHref(),k=d.url();a?(m=k.substring(0,k.indexOf("/",k.indexOf("//")+2))+(m||"/"),e=e.history?tc:uc):(m=Wa(k),e=Jb);h=new e(m,"#"+b);h.$$parse(h.$$rewrite(k));g.on("click",function(a)if(!a.ctrlKey&&!a.metaKey&&2!=a.which)for(var b=
A(a.target);"a"!==x(b[0].nodeName);)if(b[0]===g[0]||!(b=b.parent())[0])return;var e=b.prop("href");X(e)&&"[object SVGAnimatedString]"===e.toString()&&(e=ya(e.animVal).href);var f=h.$$rewrite(e);e&&(!b.attr("target")&&f&&!a.isDefaultPrevented())&&(a.preventDefault(),f!=d.url()&&(h.$$parse(f),c.$apply(),Z.angular["ff-684208-preventDefault"]=!0)));h.absUrl()!=k&&d.url(h.absUrl(),!0);d.onUrlChange(function(a)h.absUrl()!=a&&(c.$evalAsync(function()var b=h.absUrl();h.$$parse(a);c.$broadcast("$locationChangeStart",
a,b).defaultPrevented?(h.$$parse(b),d.url(b)):f(b)),c.$$phase||c.$digest()));var l=0;c.$watch(function()var a=d.url(),b=h.$$replace;l&&a==h.absUrl()||(l++,c.$evalAsync(function()c.$broadcast("$locationChangeStart",h.absUrl(),a).defaultPrevented?h.$$parse(a):(d.url(h.absUrl(),b),f(a))));h.$$replace=!1;return l);return h]function vd()var b=!0,a=this;this.debugEnabled=function(a)return B(a)?(b=a,this):b;this.$get=["$window",function(c)function d(a)a instanceof Error&&(a.stack?a=a.message&&
-1===a.stack.indexOf(a.message)?"Error: "+a.message+"\\n"+a.stack:a.stack:a.sourceURL&&(a=a.message+"\\n"+a.sourceURL+":"+a.line));return afunction e(a)var b=c.console||,e=b[a]||b.log||w;a=!1;trya=!!e.applycatch(m)return a?function()var a=[];q(arguments,function(b)a.push(d(b)));return e.apply(b,a):function(a,b)e(a,null==b?"":b)returnlog:e("log"),info:e("info"),warn:e("warn"),error:e("error"),debug:function()var c=e("debug");return function()b&&c.apply(a,arguments)()]function ea(b,
a)if("constructor"===b)throw za("isecfld",a);return bfunction Xa(b,a)if(b)if(b.constructor===b)throw za("isecfn",a);if(b.document&&b.location&&b.alert&&b.setInterval)throw za("isecwindow",a);if(b.children&&(b.nodeName||b.on&&b.find))throw za("isecdom",a);return bfunction kb(b,a,c,d,e)e=e||;a=a.split(".");for(var g,f=0;1<a.length;f++)g=ea(a.shift(),d);var h=b[g];h||(h=,b[g]=h);b=h;b.then&&e.unwrapPromises&&(ra(d),"$$v"in b||function(a)a.then(function(b)a.$$v=b)(b),b.$$v===r&&(b.$$v=
),b=b.$$v)g=ea(a.shift(),d);return b[g]=cfunction wc(b,a,c,d,e,g,f)ea(b,g);ea(a,g);ea(c,g);ea(d,g);ea(e,g);return f.unwrapPromises?function(f,m)var k=m&&m.hasOwnProperty(b)?m:f,l;if(null==k)return k;(k=k[b])&&a

以上是关于搭建项目学习框架(五,获取数据后,前端的渲染)的主要内容,如果未能解决你的问题,请参考以下文章

Vue框架 03

前端笔记五初识VUE

前端笔记五初识VUE

vue全家桶搭建前端页面注意细节及遇到的难题

Vue项目搭建记录

Python经典前端框架:Django,第一天Django环境搭建