if you need an app / website you can use jquery:
$('input').attr('autocomplete','off');
Or, if you are like me and using Angular + ui-router , you can try the following:
In index.html add the following script:
<script type="text/javascript"> setTimeout(function() { $('input').attr('autocomplete', 'off'); }, 2000); </script>
Then, to capture state changes, add the following to your root controller:
$rootScope.$on('$stateChangeStart', function() { $timeout(function () { $('input').attr('autocomplete', 'off'); }, 2000); });
Timeouts are for rendering html before using jquery.
If you find a better solution, let me know.
Trampguy
source share