Questions tagged as 'angular2-template'

2
answers

AngularJS-2 change the delimiters {{}}

I'm trying to use something similar to interpolateProvider in AngularJS 2 but I can not find something similar to this: AngularJS 1.x $ interpolateProvider $interpolateProvider.startSymbol('//'); $interpolateProvider.endSymb...
asked by 08.02.2016 / 22:32
1
answer

Angular2: How to create webBuilder (template) with drag and drop?

I am interested in creating a web builder (template) with drag and drop from an admin, do you know any library that can help me? The purpose is to build "drageables" components from said admin and to publish them on the front cover in order t...
asked by 21.08.2016 / 15:26
1
answer

Parameter "undefined" when wanting to use a string in Angular2

I am trying to pass an id from a div to a child component, this works for me if I use it in the template of the child component, but when I want to use it in the code it appears as undefined parent component with its respective template...
asked by 10.05.2017 / 08:08
0
answers

Angular2: load component in router-outlet by name

I'm doing a dynamic tab in Angular 2 <ul class="nav nav-tabs"> <li *ngFor="let tab of ltTabsMenu"> <a data-toggle="tab" href="#{{tab.idDiv}}">{{tab.title}}</a> </li> </ul> Later...
asked by 11.05.2017 / 17:53
0
answers

'ERROR in Can not read property' listLazyRoutes 'of undefined' Angular 2 [closed]

Good day for everyone, someone knows how I can fix this error when launching ng serve from Angular 2, I am trying to create the dist folder with its files for production     
asked by 26.12.2016 / 20:50
1
answer

Problem loading son component with angular material 2

I'm trying to load a child component which would only be a toolbar but I get error with material angle but if I load the toolbar from my appcomponent there is no problem but when I try to separate it I get this this is my app.component i...
asked by 08.07.2016 / 22:32
1
answer

* ngIf if you find a value in an angular array 4

How can I do the ngIf with the condition that it shows the element if it finds an element in an array, be it a string or a string, I do not have anything on the internet I tried * nfIf="userModel.roles.find (x = > x.name == 'administrat...
asked by 11.03.2018 / 08:14
1
answer

I do not want to work the decorator @input in angular

Good morning to want to pass data from father to son with the decorator @ input to run the page I get this on the page: Failed to compile. ./ src / app / son / hijo.component.ts Module not found: Error: Can not resolve '@ angular / core /...
asked by 14.01.2018 / 16:08
1
answer

How to mark a checkbox of a Primeng datatable?

I have this array of information this.userLanguage = response.lstLOV; that contains this data: 0:{languageId:"en",languageName:"English",seleccion:true}, 1:{languageId:"es",languageName:"Español",seleccion:false}... In my table I show them...
asked by 04.09.2017 / 22:28
1
answer

Angular project structure

I am analyzing how to start a project with Angular. In a previous one, which we have currently underway, mounted with AngularJS 1.5, with a structure similar to the one I am looking for, which is a login screen, which, if the user exists, pas...
asked by 28.08.2017 / 22:08