Copyapp.directive('someDirective', function () { return { scope: { oneWay: '@', twoWay: '=', expr: '&' // to evaluate in parent scope } }; });
app.directive('someDirective', function () { return { scope: { oneWay: '@', twoWay: '=', expr: '&' // to evaluate in parent scope } }; });