Ahoy plugin for Angulartics.
First make sure you've read installation and setup instructions for Angulartics.
Then you can install this package either with npm
or with bower
.
npm install angulartics-ahoy
Then add angulartics.ahoy
as a dependency for your app:
require('angulartics')
angular.module('myApp', [
'angulartics',
require('angulartics-ahoy')
]);
bower install angulartics-ahoy
Add the <script>
to your index.html
:
<script src="/bower_components/angulartics-ahoy/dist/angulartics-ahoy.min.js"></script>
Then add angulartics.ahoy
as a dependency for your app:
angular.module('myApp', [
'angulartics',
'angulartics.ahoy'
]);
Documentation is available on the Angulartics site.
npm run build