djds4rce/angular-socialshare — pull request #14 by mariusz (2014-10-17 21:29:26+00:00)
Title: Facebook dynamic shares counter

Directive for counting Facebook shares seemed to be firing too early if used within an Angular template. Because of that code like this:

{{ shares }}

fails miserably, because the directive fires before `{{ profile.url }}` gets populated. Adding `attr.$observe` to the `url` attribute fixes the problem.