I have 3 document-types.
- document
- folder
- documentplace
if the expression is {{documenttype}}
= document, than create a document-icon.
if the expression is {{documenttype}}
= folder than create a folder icon.
if the expression is {{documenttype}}
= documentplace than create a adress icon.
I know excactly to do this in php, but in angular im a little bit over asked.