bcabanes / gulp-angular-translate-extract

Gulp version of grunt-angular-translate.
MIT License
14 stars 12 forks source link

Html directive with interpolation doesn't work properly #21

Open Samoji opened 7 years ago

Samoji commented 7 years ago

In some cases I need to add the translation id as a model property and then use it with interpolation on a certain html tag.

The html directive should exclude this case: <ANY translate="{{ model.someProperty }}"></ANY>

This actually generates the following: "{{ model": { "someProperty }}": "{{ model.someProperty }}" }