djds4rce/angular-socialshare — pull request #10 by mickeywu (2014-09-30 23:13:19+00:00)
Title: Fix FB share count error

"TypeError: Cannot read property 'share_count' of undefined" occurs in some cases, specifically if working on localhost. Fix is to add a null check and assign share count to be 0 if res[0] is undefined.