I found this Angular Directive online to add a twitter share button. It all seems staright forward but I can\'t work out what the attrs.$observe is actually doi
attrs.$observe
sr .directive('sr',function(){ return { link: function(element, $scope, attrs){ attrs.$observe('sr', function() { console.log('change observe') }); } }; })
sr