<!doctype html>
<html ng-app>
  <head>
    <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js"></script>
    <script src="script.js"></script>

  </head>
  <body>

<div ng-controller="Controller">
  <form novalidate class="simple-form">
    
    <input type="hidden" ng-model="jsonRep.route2" />
  </form>
  <pre>json_route2 = {{json_route2 | json}}</pre>
  <div>jsonRep = {{jsonRep}}</div>
</div>


  </body>
</html>
function Controller($scope, $filter) {
  $scope.json_route2 = {some: 'json'};
  $scope.jsonRep = {};
  
  $scope.$watch('json_route2', function(route){
    $scope.jsonRep.route2 = $filter('json')(route);
  });

}