Skip to content

David Votrubec | Notes about programming

Bindings in AnguarJs

Posted byDavid Votrubec November 18, 2015 Leave a comment on Bindings in AnguarJs

This is something I can NEVER remember by heart.

app.directive('someDirective', function () { 
    return { 
        scope: { 
            oneWay: '@', 
            twoWay: '=', 
            expr: '&' } 
    }; 
});
Posted byDavid VotrubecNovember 18, 2015Posted inAngularJS

Post navigation

Previous Post Previous post:
In defence of literate programming
Next Post Next post:
VisualStudio has problem when multiple versions of Typescript are installed
David Votrubec | Notes about programming, Proudly powered by WordPress.