From: Gustavo Martin Morcuende Date: Mon, 17 Aug 2015 16:53:54 +0000 (+0200) Subject: showcase: new directories hierarchy X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=7fcee433498b77b77f561f7695a69a3305d42e5e;p=JavaScriptForFun showcase: new directories hierarchy --- 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. + +
+
+ + + + + +