@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
19 lines (18 loc) • 606 B
HTML
<div class="promotions">
<ng-template ngFor let-detail [ngForOf]="list" let-i="index">
<div class="promote mt-3" >
<h5 class="my-3">{{detail[fields.title]}}</h5>
<%
for (let [index, field] of briefView.entries()){
if (!field.promotionDetails) continue;
let fn = field.fieldName; let ft = field.type;
let fieldObj = {field, fn, ft, ref_link: false,};
%>
<div class = "ms-3">
<%- include(`/ui/${uiFramework}/${uiDesign}/schema-display.field-wrap.html`, fieldObj); %>
</div>
<hr/><%_
}%>
</div>
</ng-template>
</div>