Questions tagged [dart-angular-templates]

3 questions
4
votes
2 answers

Angular 2 Dart: Template syntax - how to concatenate strings?

Feels like a dumb question but I do not get it. How can I do fast string concatenation in Angular 2 Dart templates? I have a seperate html file for my component lets say my_component.html: Works: ....
Blackbam
  • 17,496
  • 26
  • 97
  • 150
3
votes
1 answer

Angular 2 Dart Template syntax: How to access static methods?

Is there a way to access static methods from a template in Dart? Problem is as follows: offer.dart: class Offer { static String getPriceString(double price) { return euroFormat.format(price) + " €"; } } First Try: main_component.html:
Blackbam
  • 17,496
  • 26
  • 97
  • 150
2
votes
1 answer

Angular / Dart and Material Inputs: How to put a link into a checkbox label?

Simple question: Is this somehow possible? If I write it like this the HTML is…
Blackbam
  • 17,496
  • 26
  • 97
  • 150