Short version:
How to use $$a like in PHP but in angular2?
Long version:
I have 2 const variables const foo = 'string' and const bar = 'string2'
And 1 variable foo2 = 'foo'
Would it be possible to call something like this.{{foo2}} with a result of 'string'?
I know it's possible in PHP with $$a.