Source Code: (back to article)
...
module.directive("myDirective",function(){
return {
...
link: function(scope, el, attrs){
scope.$watch(attrs.[any_attribute],function(data){ // for example any_attribute = 'ngModel'
// alles, was Sie möchten
},true)
}
}
})