/// <summary> /// Adds a new route definition to the $route service. /// </summary> /// <param name="path"> /// Route path (matched against $location.path). /// </param> /// <param name="route"> /// Mapping information to be assigned to $route.current on route match. /// </param> public RouteProvider When(string path, MappingInformation route) { return default(RouteProvider); }
/// <summary> /// Adds a new route definition to the $route service. /// </summary> /// <param name="path"> /// Route path (matched against $location.path). /// </param> /// <param name="route"> /// Mapping information to be assigned to $route.current on route match. /// </param> public RouteProvider When(string path, MappingInformation route) { return(default(RouteProvider)); }