Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
/ ng-cordova Public archive
forked from ionic-team/ng-cordova

AngularJS wrapper for Cordova plugins with support for AdMob Pro and Facebook Audience Network.

License

Notifications You must be signed in to change notification settings

ladas-larry/ng-cordova

 
 

Repository files navigation

ngCordova wrapper with extended AdMobPro and Facebook Audience Network support.

You can find original docs in ngCordova repository.

##Usage

###AdMobPro

Install Cordova AdMob Pro Plugin

cordova plugin add com.google.cordova.admob

Implement $cordovaAdMobPro service

module.controller('AdMobCtrl', function($scope, $cordovaAdMobPro) {
    $cordovaAdMobPro.setOptions({
					adId: 'ca-app-pub-6869992474017983/4806197152',
					position:8,
					autoShow:true,
					isTesting: true
				});
});

###Facebook Audience Network

Install Cordova Facebook Audience Network Plugin

cordova plugin add com.rjfun.cordova.facebookads

Implement $cordovaAudianceNetwork service

module.controller('AudianceNetworkCtrl', function($scope, $cordovaAudianceNetwork) {
	$cordovaAudianceNetwork.setOptions({
                    adId: '577571115610927_876258762408826',
                    position:8,
                    autoShow:true,
					isTesting: true
                });
});

About

AngularJS wrapper for Cordova plugins with support for AdMob Pro and Facebook Audience Network.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.4%
  • CSS 1.6%
  • LiveScript 0.0%
  • Shell 0.0%
  • Objective-C 0.0%
  • R 0.0%