0.1.0 • Published 8 years ago

angular-gnrad v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

angular-gnrad

npm version Bower version

This module lets you integrate your G&R advertisements in your AngularJS applications easily.

Installation

bower install angular-gnrad or npm install angular-gnrad

Or alternatively, grab the dist/angular-gnrad.min.js file and include it in your project

In your application, declare the angular-gnrad module dependency :

angular.module('app', ['angular-gnrad']);

There is no need to include any G&R ads lib yourself, the directive takes care of it and include it (async) only when it is needed.

Use the directive in your html file :

Replace the 'site-id' and 'slot-id' attributes with your values.

The directive doesn't support "Placement Code" of G&R.

<gnrad site-id="1580" slot-id="25425"></gnrad>