'use strict'

angular.module('pathwayApp')
.controller('HomeController', function ($scope) {
});

// app.controller('HomeController', function ($scope) {
//   $scope.event = "hello"
// });
'use strict'

angular.module('pathwayApp')
.controller('HomeController', function ($scope, $http) {
  $http({method: 'GET',
         url: '/api/pathways'
  }).success(function(data, status){
    $scope.pathways = data
  })
});
Add a get request to get all pathways
Add a get request to get all pathways
