removed bug



https://github.com/angular/angular.js/issues/1840