I'm developping an angularjs (v1.2.26) application. And I used KeePass (v2.28), chromeIPass 2.6.8 (google chrome extension) to fill credentials.
I got an issue with the login form: Keepass allow to auto complete (mandatory) username and password fields.
In this case, angularjs dosn't detect the value and consider the form as invalid (I can't connect).

I try a little workaround under but this seems not work each time. Any idea on how to solve this ?
workaround used in ng-controller (doesn't work each time):
$scope.focusLogin = function() {
// try to avoid 'form invalid' state when browser auto-complete form fields
$('#LoginView_Password').focus();
$('#LoginView_Password').change();
$('#LoginView_Password').focus();
$('#LoginView_Username').focus();
$('#LoginView_Username').change();
$('#LoginView_Username').focus();
};
setTimeout($scope.focusLogin, 500);