fix date-picker: watch the scope to handle async binding

Before, async binding doesn't work.
Watching the "model" scope permit to update the date-picker correctly.
I moved the isDefined function in the controller.
Good for you ?