'use strict';

/* Controllers */

angular.module('myApp.controllers', []).
  controller('HomeCtrl', [function() {

  }]);

'use strict';

/* Controllers */

angular.module('myApp.controllers', []).
  controller('HomeCtrl', ['$scope', function($scope) {
    SC.get('/users/thunder-hustle/favorites', { limit: 20 }, function(tracks) {
      $scope.$apply(function() {
        if (tracks.length > 1) {
          $scope.likes = tracks;
        } else {
          console.log("user has no favorites");
        }
      });
    });
  }]);

Access track favorites on SoundCloud
Access track favorites on SoundCloud

* Use SoundCloud API call to get top 20 favorites
* Store favorites on scope for access in view
