I have an angular directive which prints a title with key contained in a messages.properties file. I would like to dynamically generate the key by concatenate 'root.'+scope.value + '.title' like this
titre="{{ 'flux.' + 'typeFlux' + '.title' }}"
The result should be like titre="{{ 'flux.typeFlux.title' }}"
How can i do this in my html file?
Thanks.
'root.' + value + '.title'?