Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
fheidenstecker
Creator II
Creator II

Angular JS Date Picker / Controller Name

Hi there,

i am trying to create an Angular JS Date picker extension in Qlik Sense

I found a simple example in the Angular Documentation

https://docs.angularjs.org/api/ng/input/input%5Bdate%5D

My Problem is, that i don't know how to set the name for the controller in Qlik

...

.controller('DateController', ['$scope', function($scope) {

...

I used the Standard Template from Qlik Help

controller: ['$scope', function ( $scope ) {

$scope.example = {

         value: new Date(2013, 9, 22)

       };

            }]

        };

    } );

I dont't know where to put the 'DateController' part, did some trial an error, but nothing seems to work. Browser giving me an error message, cause obviously it DateController is not defined. 

[ng:areq] Argument 'DateController' is not a function, got undefined

So can anybody help ?

Thanks,

Fabian

2 Replies
rohan_forrester
Partner - Contributor II
Partner - Contributor II

Hi Fabian

Did you manage to resolve this?

Thanks

Rohan

fheidenstecker
Creator II
Creator II
Author

no 😞