From 83be1709288dfdcdd3c41f98ac39b9bfbb63a634 Mon Sep 17 00:00:00 2001 From: Thibault Cohen Date: Wed, 17 Dec 2014 14:11:28 -0500 Subject: [PATCH] Transform sidebar to module --- app/app.js | 1 + app/index.html | 53 ++++++++++--------------- app/navbar/navbar.html | 2 - app/{partials => }/sidebar/sidebar.css | 0 app/{partials => }/sidebar/sidebar.html | 4 +- app/sidebar/sidebar.js | 16 ++++++++ 6 files changed, 40 insertions(+), 36 deletions(-) rename app/{partials => }/sidebar/sidebar.css (100%) rename app/{partials => }/sidebar/sidebar.html (96%) create mode 100644 app/sidebar/sidebar.js diff --git a/app/app.js b/app/app.js index 3a7464f..c83b9d5 100644 --- a/app/app.js +++ b/app/app.js @@ -3,6 +3,7 @@ // Declare app level module which depends on views, and components angular.module('adagios', [ 'ngRoute', + 'adagios.sidebar', 'adagios.navbar', 'adagios.tactical' ]). diff --git a/app/index.html b/app/index.html index 40af03a..2c73a4d 100644 --- a/app/index.html +++ b/app/index.html @@ -12,49 +12,40 @@ - - - - - - + + + + + + + + + + > + + + + + + + + + + -
+ - +
- - - - - - - - - - - - - - - - - - - - - diff --git a/app/navbar/navbar.html b/app/navbar/navbar.html index 5c23069..60ab46b 100644 --- a/app/navbar/navbar.html +++ b/app/navbar/navbar.html @@ -1,5 +1,3 @@ - -