angular
.module('app.cars')
- .config(configure);
+ .config(route);
/**
* @ngdoc service
- * @name app.cars.configure
+ * @name app.cars.route
*
* @requires $stateProvider
* @requires $urlRouterProvider
* Router configuration for cars application.
*/
/* @ngInject */
- function configure($stateProvider, $urlRouterProvider) {
+ function route($stateProvider, $urlRouterProvider) {
var state = 'cars';
var config = {
abstract: false,
angular
.module('app.welcome')
- .config(configure);
+ .config(route);
/**
* @ngdoc service
- * @name app.welcome.configure
+ * @name app.welcome.route
*
* @requires $stateProvider
* @requires $urlRouterProvider
* Router configuration for welcome application.
*/
/* @ngInject */
- function configure($stateProvider, $urlRouterProvider) {
+ function route($stateProvider, $urlRouterProvider) {
var state = 'welcome';
var config = {
abstract: false,