Manipulate scope value with angularjs directive <p>my model contains some values that I want to modify before showing it to the user. Maybe this is written in the docs and I am to blind to see it. </p> <p>Lets say I want to display my variable like this</p> <pre><code>&lt;span decode-directive&gt;{{variable}}&lt;/span&gt; </code></pre> <p>I want to write the decode-directive and it should display <strong>variable + 1234</strong> f.e.</p> <p>I need this at a few points so I can't code it for only one special object.<br> I hope you can help me out with this. </p>