Fixed typeahead by fixing scope of ng-options.
Changed date format.