Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- angular.module('app')
- .controller('smartBannerController', function () {
- 'use strict';
- var vm = this;
- vm.open = true;
- vm.isAndroid = function (){
- return ((/android/i).test(navigator.userAgent)) ? true : false;
- }
- vm.close = function() {
- vm.open = false;
- }
- vm.banner = {
- title: '',
- subtitle : '',
- mode : '',
- appImage: '',
- appUrl: '',
- callToAction: ''
- };
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement