title: AngularJS expression doesn't work in a different view
body: <p>So I have this problem with creating a new view. The routeing works just fine because it shows the required HTML perfectly, but the expressions which worked just fine in the main view don't show up in the new.</p>
  
  <pre><code>&lt;a href="#/view/{{todo.id}}" id="super" ng-repeat="todo in todos | filter: search"&gt;
          &lt;div id="main" ng-class="{'done': todo.done}"&gt;
              &lt;input type="checkbox" ng-model="todo.done" /&gt;
              &lt;span&gt;{{todo.title}}&lt;/span&gt;
              &lt;button id="info"&gt;i&lt;/button&gt;
              &lt;div class="inf"&gt;
                  &lt;span&gt;Prioritás: {{todo.priority}}&lt;/span&gt;
              &lt;/div&gt;
              &lt;div class="inf" id="sec"&gt;
                  &lt;span&gt;Határidő: {{todo.deadLine | date: "yyyy. MMMM. dd"}}&lt;/span&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/a&gt;
  </code></pre>
  
  <p>These are the expressions in the main view, they work like a charm.</p>
  
  <pre><code>myTodoList.config(['$routeProvider', function($routeProvider, $locationProvider) {
  
  $routeProvider
      .when('', {
          templateUrl: 'index.html',
          controller: "mainController"
      })
      .when('/view/:id', {
          templateUrl: 'view.html',
          controller: "mainController"
      }).otherwise({
          redirectTo: ''
      });
  </code></pre>
  
  <p>This is the routeing part, this is working.</p>
  
  <pre><code>&lt;div id="mainContent"&gt;Master Detail
      &lt;div ng-controller="mainController" ng-view&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is the <code>div</code> where the new view goes.</p>
  
  <pre><code>&lt;div&gt;
  &lt;p&gt;Should be the ID: {{todo.id}}&lt;/p&gt;
  &lt;p&gt; should be the title: {{todo.title}}&lt;/p&gt;
  &lt;p&gt; this works: {{1+2}}&lt;/p&gt;&lt;/div&gt;
  </code></pre>
  
  <p>And this is the <code>view.html</code>. The third expression is working, so I have the problem with de other two expressions. I think I messed up this because I can't reach the data I want. <code>todo.id</code> and <code>todo.title</code> are data created by a <code>function</code> in real time.</p>
  
  <pre><code>$scope.addTodo = function(title, priority, deadLine, id) {
      $scope.todos.push({
          'id': lastId,
          'title': $scope.newTodo,
          'done': false,
          'priority': $scope.newPriority,
          'deadLine': $scope.newDeadLine
      });
      $scope.newTodo = ''
      $scope.newPriority = ''
      $scope.newDeadLine = ''
      lastId++;
  }
  </code></pre>
  
  <p>This is the <code>function</code> I am using. I hope I described the problem well.</p>