Skip to content

Integrate your G&R advertisements in your AngularJS 1.x applications easily.

License

Notifications You must be signed in to change notification settings

tahins/angular-gnrad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-gnrad

npm 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>

About

Integrate your G&R advertisements in your AngularJS 1.x applications easily.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published