From: Gustavo Martin Morcuende Date: Sun, 30 Aug 2015 19:17:13 +0000 (+0200) Subject: showcase: renaming cars.route and welcome.route services X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=20d3f9004c7415192219e9eb32c467662ac81552;p=JavaScriptForFun showcase: renaming cars.route and welcome.route services --- diff --git a/angularjs/showcase/src/showcase/app/cars/cars.route.js b/angularjs/showcase/src/showcase/app/cars/cars.route.js index 57e339e..b07733b 100644 --- a/angularjs/showcase/src/showcase/app/cars/cars.route.js +++ b/angularjs/showcase/src/showcase/app/cars/cars.route.js @@ -3,11 +3,11 @@ angular .module('app.cars') - .config(configure); + .config(route); /** * @ngdoc service - * @name app.cars.configure + * @name app.cars.route * * @requires $stateProvider * @requires $urlRouterProvider @@ -23,7 +23,7 @@ * Router configuration for cars application. */ /* @ngInject */ - function configure($stateProvider, $urlRouterProvider) { + function route($stateProvider, $urlRouterProvider) { var state = 'cars'; var config = { abstract: false, diff --git a/angularjs/showcase/src/showcase/app/welcome/welcome.route.js b/angularjs/showcase/src/showcase/app/welcome/welcome.route.js index a765caa..eda7247 100644 --- a/angularjs/showcase/src/showcase/app/welcome/welcome.route.js +++ b/angularjs/showcase/src/showcase/app/welcome/welcome.route.js @@ -3,11 +3,11 @@ angular .module('app.welcome') - .config(configure); + .config(route); /** * @ngdoc service - * @name app.welcome.configure + * @name app.welcome.route * * @requires $stateProvider * @requires $urlRouterProvider @@ -23,7 +23,7 @@ * Router configuration for welcome application. */ /* @ngInject */ - function configure($stateProvider, $urlRouterProvider) { + function route($stateProvider, $urlRouterProvider) { var state = 'welcome'; var config = { abstract: false,