Can't get detailed view of emails Outbox2:


#1

trying to get the email.html view to work but no luck. Have searched far and wide for a solution but not found one. What am i missing?

EmailController:

app.controller('EmailController', ['$scope', 'emails', '$routeParams', function($scope, emails, $routeParams) {
  emails.success(function(data) {
    $scope.email = data[$routeParams.id];
  });
}]);

email.html

<a class="back" href="#/outbox">Back</a>
<div class="email-view">
  <h2 class="subject">{{ email.subject }}</h2>
  <span class="from">{{ email.from }}</span>
  <span class="date">{{ email.date | date }}</span>
  <p class="message">{{ email.message }}</p>
</div>

the routing is working, but the expressions in the email.html are not computing...

thanks!


#2

This far along and still not posting lesson links. We do not have a speed dial to these lessons. None of us do. Please help us help you. Thanks.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.