luisfarzati/angulartics — pull request #95 by fouasnon (2014-02-26 00:45:22+00:00)
Title: fix noninteraction tracking in google universal api tracking

The google analytics universal events tracking is not sending the noninteraction properly.
The related code currently looks like this

``` js
if (window.ga) ga('send', 'event', properties.category, action, properties.label, properties.value, properties.noninteraction);
```

According to google's docs, https://developers.google.com/analytics/devguides/collection/analyticsjs/events, it should look like

``` js
ga('send', 'event', properties.category, action, properties.label, properties.value, {nonInteraction: 1});
```

This pull request should fix that issue. (Also uses an `if, else if` block instead of two `if` blocks.)