autocomplete fix and restangular doc