add event driven $scope.todosFromRest = todoModel.todos