social-share.directive.js
623 Bytes
(function() {
'use strict';
angular
.module('dialoga')
.directive('socialShare', socialShare);
/** @ngInject */
function socialShare() {
var directive = {
restrict: 'E',
templateUrl: 'app/components/social-share/social-share.html',
scope: {
url: '=',
image: '=',
text: '=',
},
controller: SocialShareController,
controllerAs: 'vm',
bindToController: true
};
return directive;
/** @ngInject */
function SocialShareController($log) {
$log.debug('SocialShareController');
// var vm = this;
}
}
})();