<!DOCTYPE HTML>
<html xmlns:ng="http://angularjs.org">
  <script type="text/javascript" src="../src/angular-bootstrap.js" ng:autobind></script>
  <body>
    <span ng:init='x = {d:3}; x1 = {bar:[x,5]}; x1.bar[0].d = 4'>
        <input name="x1.bar[0].d" type="text"></input>
        <input name="x.d" type="text"></input>
    <span> {{x1}} -- {{x1.bar[0].d}}</span>
  </body>
</html>