Removed identical condition check

Solution to https://github.com/angular/angular.js/issues/1911