volusion-angular-themes/vanilla — pull request #22 by tylertadej (2014-08-26 17:19:30+00:00)
Title: Add angular-social widgets to product page

@tsanko

### Add angular-social to Vanilla product page

Project found at: https://github.com/esvit/angular-social

###### Issues:
- Getting an error ```Cannot read property 'total_count' of undefined``` because when the Facebook directive goes to fetch the current share count it returns ```undefined``` instead of ```0```.
- The CSS and JS was added to ```index.html``` manually and not dynamically injected with ```grunt build```

###### Note about implementation:
- Below is how the project is added to the HTML by default
- If you remove ```data-url``` the directive will default to ```$location.absUrl()``` and fetch the current URL.
- The properties ```data-description``` and ```data-image``` are only being used by the ```ngSocialVK``` directive - a European/Russian social network, thus those properties have been removed from our version.
```javascript

Share:

Facebook

Google+

Twitter

...

```
- Here is how the HTML looks in Vanilla

```javascript

Facebook

Twitter

Pinterest

```

Overall it seems to be working well. Just needs to be tested with some metadata.