Welcome to mirror list, hosted at ThFree Co, Russian Federation.

manage.directive.js « manage « angularjs « CustomDimensions « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d9c937cb1cf590f5d2a1200b76cb2be3943ed059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*!
 * Matomo - free/libre analytics platform
 *
 * @link https://matomo.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */

/**
 * Usage:
 * <div piwik-custom-dimensions-manage>
 */
(function () {
    angular.module('piwikApp').directive('piwikCustomDimensionsManage', piwikManageCustomDimensions);

    piwikManageCustomDimensions.$inject = ['piwik'];

    function piwikManageCustomDimensions(piwik){

        return {
            restrict: 'A',
            scope: {},
            templateUrl: 'plugins/CustomDimensions/angularjs/manage/manage.directive.html?cb=' + piwik.cacheBuster,
            controller: 'ManageCustomDimensionsController',
            controllerAs: 'manageDimensions'
        };
    }
})();