Questions tagged [angular2-template]

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

Tag content based loosely off Victor Savkin's Angular Template Syntax article

2881 questions
1
vote
0 answers

Angular 2 xi18n cannot resolve template path outside of component directory

I am trying to use the new xi18n in Angular 2 version 2.1.1 . When I run the ./node_modules/.bin/ng-xi18n command to extract the locales I hit on this error: Error: Compilation failed. Resource file not found: …
Cvetan Himchev
  • 123
  • 1
  • 7
1
vote
1 answer

How to set ngModel within [a nested] ngFor (Angular rc2)?

Premise: I tried several answers (including one I asked and accidentally accepted) but none works for me. I have a nested ngFor inside and a nested binding via ngModel. Issue: when I update one item in the nested ngFor the corresponding item is…
dragonmnl
  • 14,578
  • 33
  • 84
  • 129