Created
June 4, 2013 02:33
-
-
Save mgonto/5703189 to your computer and use it in GitHub Desktop.
Angularytics Track event with service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.controller('MainCtrl', function(Angularytics, $scope) { | |
$scope.click = function() { | |
Angularytics.trackEvent("Home Category", "Button clicked"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment