Here is the Javascript code I am working with in an AngularJS controller:
$scope.schedule = {}
$scope.selectEquipment = function(equip) {
//alert(equip);
$scope.schedule.equipment = equip;
}
I am successfully receiving the equip variable, but for some reason when I attempt to add a property to $scope.schedule, it is not being created. Can you help me identify where I am going wrong?