From 7fcee433498b77b77f561f7695a69a3305d42e5e Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Mon, 17 Aug 2015 18:53:54 +0200 Subject: [PATCH] showcase: new directories hierarchy --- angularjs/showcase/app/app.config.js | 21 ----- angularjs/showcase/app/app.module.js | 11 --- angularjs/showcase/app/index.html | 98 -------------------- angularjs/showcase/app/welcome/welcome.html | 9 -- angularjs/showcase/src/showcase/app/app.config.js | 21 +++++ angularjs/showcase/src/showcase/app/app.module.js | 11 +++ .../showcase/src/showcase/app/welcome/welcome.html | 9 ++ angularjs/showcase/src/showcase/index.html | 100 +++++++++++++++++++++ 8 files changed, 141 insertions(+), 139 deletions(-) delete mode 100644 angularjs/showcase/app/app.config.js delete mode 100644 angularjs/showcase/app/app.module.js delete mode 100644 angularjs/showcase/app/index.html delete mode 100644 angularjs/showcase/app/welcome/welcome.html create mode 100644 angularjs/showcase/src/showcase/app/app.config.js create mode 100644 angularjs/showcase/src/showcase/app/app.module.js create mode 100644 angularjs/showcase/src/showcase/app/welcome/welcome.html create mode 100644 angularjs/showcase/src/showcase/index.html diff --git a/angularjs/showcase/app/app.config.js b/angularjs/showcase/app/app.config.js deleted file mode 100644 index b86a7f0..0000000 --- a/angularjs/showcase/app/app.config.js +++ /dev/null @@ -1,21 +0,0 @@ -(function() { - 'use strict'; - - angular - .module('app') - .config([ - '$stateProvider', - '$urlRouterProvider', - - function($stateProvider, $urlRouterProvider) { - var welcome = { - abstract: false, - url: '/welcome', - templateUrl: 'app/welcome/welcome.html' - }; - - $urlRouterProvider.otherwise('welcome'); - $stateProvider.state('welcome', welcome); - } - ]); -}()); \ No newline at end of file diff --git a/angularjs/showcase/app/app.module.js b/angularjs/showcase/app/app.module.js deleted file mode 100644 index cc245ef..0000000 --- a/angularjs/showcase/app/app.module.js +++ /dev/null @@ -1,11 +0,0 @@ -(function () { - - 'use strict'; - - angular.module('app', [ - 'ui.router', - 'ui.bootstrap', - 'ui.bootstrap.modal' - ]); - -}()); \ No newline at end of file diff --git a/angularjs/showcase/app/index.html b/angularjs/showcase/app/index.html deleted file mode 100644 index b684204..0000000 --- a/angularjs/showcase/app/index.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - Showcase - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - Hello World!!! You should never see this if ui-router works as expected. - -
-
- - - - - - diff --git a/angularjs/showcase/app/welcome/welcome.html b/angularjs/showcase/app/welcome/welcome.html deleted file mode 100644 index ce2c44e..0000000 --- a/angularjs/showcase/app/welcome/welcome.html +++ /dev/null @@ -1,9 +0,0 @@ - -
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/angularjs/showcase/src/showcase/app/app.config.js b/angularjs/showcase/src/showcase/app/app.config.js new file mode 100644 index 0000000..b86a7f0 --- /dev/null +++ b/angularjs/showcase/src/showcase/app/app.config.js @@ -0,0 +1,21 @@ +(function() { + 'use strict'; + + angular + .module('app') + .config([ + '$stateProvider', + '$urlRouterProvider', + + function($stateProvider, $urlRouterProvider) { + var welcome = { + abstract: false, + url: '/welcome', + templateUrl: 'app/welcome/welcome.html' + }; + + $urlRouterProvider.otherwise('welcome'); + $stateProvider.state('welcome', welcome); + } + ]); +}()); \ No newline at end of file diff --git a/angularjs/showcase/src/showcase/app/app.module.js b/angularjs/showcase/src/showcase/app/app.module.js new file mode 100644 index 0000000..cc245ef --- /dev/null +++ b/angularjs/showcase/src/showcase/app/app.module.js @@ -0,0 +1,11 @@ +(function () { + + 'use strict'; + + angular.module('app', [ + 'ui.router', + 'ui.bootstrap', + 'ui.bootstrap.modal' + ]); + +}()); \ No newline at end of file diff --git a/angularjs/showcase/src/showcase/app/welcome/welcome.html b/angularjs/showcase/src/showcase/app/welcome/welcome.html new file mode 100644 index 0000000..ce2c44e --- /dev/null +++ b/angularjs/showcase/src/showcase/app/welcome/welcome.html @@ -0,0 +1,9 @@ + +
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/angularjs/showcase/src/showcase/index.html b/angularjs/showcase/src/showcase/index.html new file mode 100644 index 0000000..0ff5580 --- /dev/null +++ b/angularjs/showcase/src/showcase/index.html @@ -0,0 +1,100 @@ + + + + + + Showcase + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + Hello World!!! You should never see this if ui-router works as expected. + +
+
+ + + + + + -- 2.1.4