Source Code:
(back to article)
Submit
Result:
Report an issue
... module.directive("myDirective",function(){ return { ... scope: { variable: '=' } ... link: function(scope, ...){ scope.$watch('variable',function(data){ // alles, was Sie möchten },true) } } })