Advertisement
Guest User

controllers.js

a guest
Sep 13th, 2014
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var FFD = angular.module('FFD.controllers', []);
  2.  
  3. FFD.controller('itemsCategoryList', ['$scope', function ($scope) {
  4.     $scope.categories = [
  5.         { title: 'anders', id: 1 },
  6.         { title: 'anders2', id: 2 }
  7.     ];
  8. }]);
  9.  
  10. FFD.controller('PlaylistsCtrl', function($scope) {
  11.     $scope.playlists = [
  12.       { title: 'Reggae', id: 1 },
  13.       { title: 'Chill', id: 2 },
  14.       { title: 'Dubstep', id: 3 },
  15.       { title: 'Indie', id: 4 },
  16.       { title: 'Rap', id: 5 },
  17.       { title: 'Cowbell', id: 6 }
  18.     ];
  19. })
  20.  
  21. FFD.controller('PlaylistCtrl', function ($scope, $stateParams) {
  22. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement