'use strict';

/* Controllers */

angular.module('myApp.controllers', [])
  .controller('HomeController', ['$scope', function($scope) {
  }])
  .controller('AlbumsController', ['$scope', function($scope) {
    $scope.albums = [];
  }])
  .controller('ArtistsController', ['$scope', function($scope) {
    $scope.artists = [];
  }])
  .controller('SongsController', ['$scope', function($scope) {
    $scope.songs = [];
  }])
  .controller('FavoritesController', ['$scope', function($scope) {
    $scope.favorites = [];
  }]);

@@ -129,22 +129,106 @@
 cope) %7B%0A
+    $scope.allMusic = %5B%5D;%0A    $scope.metadata = %7Bsong: '', artist: '', album: ''%7D; %0A
   %7D%5D)%0A
-
   .contr
@@ -299,32 +299,98 @@
 pe.albums = %5B%5D;%0A
+    // Get last property of each metadata object and add to array%0A
   %7D%5D)%0A  .control
@@ -461,32 +461,100 @@
 e.artists = %5B%5D;%0A
+    // Get second property of each metadata object and add to array%0A
   %7D%5D)%0A  .control
@@ -598,32 +598,32 @@
 ction($scope) %7B%0A
-
     $scope.songs
@@ -625,24 +625,91 @@
 songs = %5B%5D;%0A
+    // Get first property of each metadata object and add to array%0A
   %7D%5D)%0A  .con

Add container for metadata