How to access a specific $scope variable when loading a different .html file?
问题 First of all, sorry about the title, I just wan't sure how to word this question. So I'm making a task manager using AngularJS. I have a form for the user to fill with the details when he's creating a new task. I use ng-model to save these values to my $scope . Here's how I save them: $scope.add = function(tasks) { { $scope.tasks.push({ 'id': tasks.id, 'title': tasks.title, 'start_day': tasks.start_day, 'start_time':tasks.start_time, 'start_date':tasks.start_day + " " + tasks.start_time, 'end