Translate function doesn't work inline.
graphical-iain opened this issue ยท 3 comments
graphical-iain commented
It appears the the translate function doesn't work inline.
Demo: http://jsfiddle.net/3qj592ra/5/
Expected behaviour
All options should behave the same used inline and as an external object.
Actual behaviour
The translate function causes an error when it is included inline.
ValentinH commented
Is this supported by AngularJs?
graphical-iain commented
I'm not that versed with AngularJs, so I'm not sure. But you asking that made me think of a workaround. I can put the function in the controller and reference it in the inline object. I only need the value and options inline, so that works.
ValentinH commented
Indeed this is much better also on a performance point of view probably :)