function inherit(parent, extra) {
    return angular.extend(Object.create(parent), extra);
  }
@ngdoc provider
@name $routeProvider
@this

@description

Used for configuring routes.

## Example
See {@link ngRoute.$route#examples $route} for an example of configuring and using `ngRoute`.

## Dependencies
Requires the {@link ngRoute `ngRoute`} module to be installed.