/*global angular*/
(function () {
    'use strict';

    angular.module('core').directive('qrDeviceInteraction', ["$location", function ($location) {
        var template = '';
        template += '<a href="{{qrConfig.slideUrl}}" target="_blank">';
        template += '    <qr text="qrConfig.slideUrl" type-number="qrConfig.typeNumber" correction-level="qrConfig.correctionLevel"';
        template += '        size="qrConfig.size" input-mode="qrConfig.inputMode" image="qrConfig.image">';
        template += '    </qr>';
        template += '</a>';

        return {
            restrict: 'E',
            template: template,
        };
    }]);
}());

/*global angular*/
(function () {
    'use strict';

    angular.module('core').directive('qrDeviceInteraction', function () {
        var template = '';
        template += '<a href="{{qrConfig.slideUrl}}" target="_blank">';
        template += '    <qr text="qrConfig.slideUrl" type-number="qrConfig.typeNumber" correction-level="qrConfig.correctionLevel"';
        template += '        size="qrConfig.size" input-mode="qrConfig.inputMode" image="qrConfig.image">';
        template += '    </qr>';
        template += '</a>';

        return {
            restrict: 'E',
            template: template,
        };
    });
}());

Remove unnecessary $location parameter in qr-device-interaction.
Remove unnecessary $location parameter in qr-device-interaction.
