Closed bethgrace5 closed 8 years ago
@amadorjoaosilva For this issue, we're going to try starting from the database and getting data to the front end, then making the data on the front end editable, then saving that data back to the database, so it will make a round trip from database -> back end -> front end -> back end -> database.
$http
service to call the function you made on the back end and save it as a $scope
variable in the javasciptmanager.html
, which contains the template/manage-deliveries.html
. You will need to build the page to show the data and make the data editable, so the page will need to make use of ng-repeat to display the current deliveries, and a form that will be used to add a new delivery or edit an existing delivery. The form will have the name of the delivery, and then checkboxes representing true/false for each day of the week.