<commit_before>/*global angular*/
(function () {
    'use strict';
    angular.module('slideshows').controller('DeviceInteractionController', ['$scope', '$state', '$stateParams', 'Slides',
        function ($scope, $state, $stateParams, Slides) {
            Slides.get({slideId : $stateParams.slideshowId, slideNumber : $stateParams.slideNumber}, function (slide) {
                    $scope.slideUrl = slide.detailsUrl || $state.href("player", {
                        slideName : $stateParams.slideshowId,
                        slideNumber : $stateParams.slideNumber
                    }, {absolute : true});

			     })
        }]);
}());<commit_msg>Added the device id to deviceInteraction's $scope<commit_after>/*global angular*/
(function () {
    'use strict';
    angular.module('slideshows').controller('DeviceInteractionController', ['$scope', '$state', '$stateParams', 'Slides',
        function ($scope, $state, $stateParams, Slides) {
            $scope.deviceId = $stateParams.deviceId;
            Slides.get({slideId : $stateParams.slideshowId, slideNumber : $stateParams.slideNumber}, function (slide) {
                $scope.slideUrl = slide.detailsUrl || $state.href("player", {
                    slideName : $stateParams.slideshowId,
                    slideNumber : $stateParams.slideNumber
                }, {absolute : true});
            });
        }]);
}());
{'fraction_non_alphanumeric': 0.15268817204301074, 'fraction_numerical': 0.0, 'mean_word_length': 2.5703324808184145, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1221834', 'n_tokens_mistral': 381, 'n_tokens_neox': 367, 'n_words': 68}