@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
8 lines (7 loc) • 330 B
HTML
<% if (detailActions.length > 0) {%>
<br/>
<div class="d-flex justify-content-center">
<%_ for (let p of detailActions) { %>
<button type="button" class="btn btn-outline-primary mx-3" routerLink="<%-p[1]%>" [queryParams]="{<%-schemaName%>: detail['_id']}"><%-p[0]%></button>
<%_}%>
</div><%}%>