UNPKG

@hicoder/angular-cli

Version:

Angular UI componenets and service generator. It works with the mean-rest-express package to generate the end to end web application. The input to this generator is the Mongoose schema defined for the express application. mean-rest-express exposes the Res

20 lines (17 loc) 737 B
<% if (detailTitle) {%> <div class="my-2"> <h4><%-detailTitle%></h4> </div><%}%> <div class="detail w-100" *ngIf="detail"> <div class="grid-fields"> <%_ viewFields = briefView.filter(x=>!x.exclusiveRequiredWith); let viewGrp = briefViewGrp; let view='detail'; let largePicture=false; let ref_link = false; %><%- include('/schema-display.association.html', {viewFields, viewGrp, view, largePicture, ref_link}) %> </div> <%for (let association of associationRoutes) {%> <div *ngIf=" '<%-association[0]%>' === associationSchema && '<%-association[2]%>' === associationField"> <app-<%-association[0]%>-list-association [association]="'<%-association[2]%>'" ></app-<%-association[0]%>-list-association%>> </div> <%}%> </div>