angular-gnrad

0.1.0 • Public • Published

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>

Readme

Keywords

Package Sidebar

Install

npm i angular-gnrad

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • tahins