diff --git a/app/controllers/main.controller.js b/app/controllers/main.controller.js index c6d7fd7..51d7fd9 100644 --- a/app/controllers/main.controller.js +++ b/app/controllers/main.controller.js @@ -1,9 +1,26 @@ var wikistats = angular.module('wikistats', []); wikistats.controller('MainController', function($scope) { - $scope.cucks = [ - 'Anders', - 'Lukas', - 'Peter' + $scope.groups = [ + { 'name' : 'Dogs', + 'breeds': [ + 'Labrador', + 'Retriever', + 'Boxer', + 'Cocker Spaniel' + ]}, + { 'name': 'Cats', + 'breeds': [ + 'Russian blue', + 'Ragdoll', + 'Norwegian Forest Cat' + ]}, + { 'name': 'Fish', + 'breeds': [ + 'Salmon', + 'Pike', + 'Trout', + 'Bass' + ]} ]; }); diff --git a/app/index.html b/app/index.html index d3d5364..e941468 100644 --- a/app/index.html +++ b/app/index.html @@ -1,33 +1,41 @@ Wikistats
+
+
    +

    {{animal.name}}

    +
  • + {{breed}} +
  • +
    +
diff --git a/assets/scss/test.scss b/assets/scss/test.scss index 3d58e65..171d5aa 100644 --- a/assets/scss/test.scss +++ b/assets/scss/test.scss @@ -1,12 +1,17 @@ html, body { height: 100%; } .fill { min-height: 100%; height: 100%; /* cross-browser */ } .fill-col { height: 100%; min-height: 100%; display: block; } + +li { + left: 30px; + position: relative +}