0.6.0 • Published 6 years ago

angular-google-adsense v0.6.0

Weekly downloads
14
License
-
Repository
github
Last release
6 years ago

angular-google-adsense

npm version Bower version

This module lets you integrate your google adsense advertisements in your AngularJS applications easily.

Installation

bower install angular-google-adsense or npm install angular-google-adsense

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

In your application, declare the angular-google-analytics module dependency :

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

There is no need to include the adsense 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 'ad-client' and 'ad-slot' attributes with your values.

The directive also supports the following optional attributes:

<adsense ad-client="ca-pub-0123" ad-slot="123456789" inline-style="display:inline-block;width:728px;height:90px" ad-format="auto"></adsense>
0.6.0

6 years ago

0.5.0

7 years ago

0.4.5

8 years ago

0.4.4

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.1.0

8 years ago