Background:
I have an angularjs application which displays a datetimepicker field.
Issue:
Once the page is loaded I want to run a javascript function to initialize the datepicker used in the page. At the moment it seems that the function call that I placed at the end of the page doesn't get picked.
Note : I use the 'bootstrap datetimepicker' from (http://eonasdan.github.io/bootstrap-datetimepicker/)

controlleryou can reinitialized but not a good practice.angular bootstrapas it's very easy to configure angular-ui.github.io/bootstrap/#/datepicker