summaryrefslogtreecommitdiffstats
path: root/src/main/resources/config/locationConfig.js
blob: 6074752538be3b5f22569fe726e78934d1140064 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
angular.module('location').config(['formServiceProvider',
    function locationConfig(formServiceProvider) {

        // Define field for the TOTP code provided by the user
        formServiceProvider.registerFieldType('LOCATION', {
            module      : 'location',
            controller  : 'locationFieldController',
            templateUrl : 'app/ext/bwlp/templates/locationField.html'
        });

    }]);