For questions referencing Angular Template Syntax including: interpolation, input(property) bindings, output(event) bindings, two-way binding, local variables, star syntax, etc. This tag is specific to angular version 2.x and above

learn more…| top users | synonyms

-1
votes
0answers
11 views

angular 2 full calendar: how to set resources [events]

im facing issue with events->resources in full calendar i have try a lot. i have done as per this link git full calendar. All good i got the view perfectly here all im trying to get resource list at ...
0
votes
0answers
6 views

ng2-file-upload: file maxFileSize limited to size < 1MB in Angular 2 using typescript

Here is my code. I am not able to upload any file with a size morethan 1 mb but i have set my maxFileSize to 50mb, please help, what am i doing wrong?@Component({moduleId: module.id,//...
2
votes
1answer
43 views

How to access the value of a variable from a module to my component in angular 2?

So this is my app.module.ts (i've injected NgxTypeaheadModule like this)import { NgxTypeaheadModule } from 'http://stackoverflow.com/components/common/components/ngx-typeahead/ngx-typeahead' imports: [...
0
votes
1answer
33 views

Add dynamic html content angular 4

I am trying to achieve dynamic template creation for child component. Given below is the method that sets the template content and load child component for template creation.Parent Component...
0
votes
2answers
20 views

Bootstrap grid not behaving properly in angular2

I am doing some Bootstrap grid in my HTML, but it is not working properly, I am doing it in angular2, and I am new to it, but I do not think that because of it, Bootstrap natural property is getting ...
0
votes
0answers
30 views

multiple ngbDatepicker in an ngFor loop

I have an array of data which is retrieved from a REST API. The user should be able to manipulate the data. The problem is that when several rows are shown (i.e. data1 array's length is larger than 1),...
0
votes
0answers
39 views

Access dynamically created html element angular 4 [duplicate]

template :<div *ngFor="let location of Item.Locations; let i=index;"><input #searchBox type="text" > </div>code :@ViewChild('searchBox') geocodeTest : ElementRef; ...
1
vote
1answer
27 views

How to filter the subnodes of a tree using recursion in angular2

--**app.component.ts**import { Component,OnInit } from '@angular/core';import { Observable } from 'rxjs/Observable';import { Subject } from 'rxjs/Subject';@Component({selector: 'my-app',...
3
votes
0answers
25 views

Calculating height of the child component dynamically

I'm developing an Angular application and I'm facing some issues.I am in a situation where I have to load multiple child components inside a parent container component.The child component is loaded ...
-1
votes
0answers
25 views

Angular 2 client side validation with parent child component

We have customer component(Parent Component). With in this we have country list component, seller component. When I press next button all three component parent, two child all should get validated. I ...
0
votes
0answers
20 views

How to add dynamic line numbering to innerHTML content in angular 5?

I get html content from the server in xml format and I'm using [innerHTML] tag to render it to the page.Now i need to add dynamic line numbering to the content that is being displayed inside the ...
0
votes
1answer
28 views

Simple way to hide the first button in the list of buttons in angular2 template?

Here under the section, i have set of buttons, i always need to hide the first button in that list of buttons.How can i do that?This is my html template<section class="list-group results" *...
1
vote
1answer
26 views

How to customize ngTypeahead active class(navigating through keyUp and Down)?

This is the official ngTypeahead plunker http://embed.plnkr.co/gV6kMSRlogjBKnh3JHU3/This is the github link https://github.com/orizens/ngx-typeaheadThis is staticList in ngxTypeaheadWhile ...
0
votes
0answers
21 views

In ngxTypeahead adding active class to selected option doesn't work correctly for static list. How can i fix that?

This is official plunker for ngxTypeaheadhttp://embed.plnkr.co/gV6kMSRlogjBKnh3JHU3/In static listimport {Component} from '@angular/core';@Component({selector: 'static-list',template: `...
0
votes
0answers
14 views

Would AOT compilation in production work if Angular compiler is used?

I would like to use the angular compiler to get some dynamic templating going as explained in this question (and the answers below it)- How to render a dynamic template with components in Angular2...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,