This data is loaded with angular.fromJson:

{{ inlineData.reportDate | date }}

This data is loaded from a resource using a service:

Name: {{ jsonData.name }}

Parsed date: {{ jsonData.reportDate }} (A date should be displayed here)

e-docs-at-symbol-HTML-entity-to-character'>nganimate-docs-at-symbol-HTML-entity-to-character
aboutsummaryrefslogtreecommitdiffstats
path: root/example/temp.html
blob: e12b4437bed2e46cd40256e761945a919f02d748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<html xmlns:ng="http://angularjs.org" ng:app>
  <head>
    <title>angular dev sandbox</title>
    <script src="../src/angular-bootstrap.js"></script>
    <script>
    angular.module.ng('routeConfig', function($route) {
          $route.when('/view1', {controller: MyCtrl, template: 'view1.html'});
          $route.when('/view2', {controller: MyCtrl, template: 'view2.html'});

          function MyCtrl() {};
        }, {$inject: ['$route']});
    </script>
  </head>
  <body ng:init="$service('$window').$root = this">
    <p>
      <a href="#/view1">view1</a> | <a href="#/view2">view2</a> | <a href="#">blank</a>
    </p>

    view: <ng:view></ng:view>
  </body>
</html>