I am passing scope value to directive using `attrs`. I am getting undefined value of `min` when it load first time but works fine with $watch. [fiddle](http://jsfiddle.net/RmDuw/653/) 

```
link: function(scope, elm, attrs) {
  scope.$watch(function (){return attrs.min}, function (newValue, oldValue) {
    console.log('oldValue=' + oldValue);
    console.log('newValue=' + newValue);
     //do something
   });
   console.log(attrs.min);                       
 }

```