'use strict';

/* Controllers */

var phonecatApp = angular.module('phonecatApp', []);

phonecatApp.controller('PhoneListCtrl', function($scope, $http) {
  $http.get('phone/list').success(function(data) {
    $scope.phones = data.phone;
  });

  $scope.orderProp = 'age';
});

'use strict';

/* Controllers */

var phonecatApp = angular.module('phonecatApp', []);

phonecatApp.controller('PhoneListCtrl', function($scope, $http) {
  $http.get('phone/list').success(function(data) {
    $scope.phones = data;
  });

  $scope.orderProp = 'age';
});

Fix missing phone list in WebApp.
Fix missing phone list in WebApp.