Update route.js

With this change it is possible to cancel a locationChange based on route data. The problem that I am trying to fix here is described in https://github.com/angular/angular.js/issues/5581