Questions tagged as 'angular2-template'

2
answers

Using TemplateRef to open Modal

Good morning. Currently I have a series of buttons that perform a series of actions. A CRUD system go. I want to add modal windows in some of them, for example when erasing that a confirmation modal appears before and depending on the answer...
asked by 07.03.2017 / 09:53
0
answers

Angular update error-cli

Can someone help me with the following?: I just updated angular-cli to the latest version and had a project developed with Angular2, but at the moment of executing the ng-serve command, I get the following error:    Local wor...
asked by 09.05.2018 / 02:48
0
answers

Array in the Angular template

I have the following code in ts, where it shows a code, which is that, every time I click on a button; I will decrease an array and when there is only one array, do not erase it; but to show it for more than click on the button. removeCostCent...
asked by 30.04.2018 / 21:19
1
answer

ng-template angular creates or deletes an instance, every time it does show or hide

I'm testing the tabssets of ng-bootstrap and I have this structure in the html. <ngb-tabset> <ngb-tab title="Simple"> <ng-template ngbTabContent> <lamb-form-print-document [entities]="entities"...
asked by 15.02.2018 / 20:59
1
answer

Angular dynamic crud

I am creating a dynamic crud, which allows me to pass as parameters the elements that will be displayed in a table for any type of crud (users, categories, permissions, etc.) Then, depending on the type of crud, the corresponding options (the mo...
asked by 18.06.2017 / 00:29