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