diff options
| author | Igor Minar | 2013-01-09 16:07:34 -0800 |
|---|---|---|
| committer | Igor Minar | 2013-01-09 21:28:53 -0800 |
| commit | 7dff7bb69695f89046272bf31b2b60f0431f1f30 (patch) | |
| tree | e67b91cbc5d1e2194b10a444b6624e23ac0456e2 /regression/resource_json_date.html | |
| parent | cdf6fb19c85560b30607e71dc2b19fde54760faa (diff) | |
| download | angular.js-7dff7bb69695f89046272bf31b2b60f0431f1f30.tar.bz2 | |
chore(*): remove obsolete files
Diffstat (limited to 'regression/resource_json_date.html')
| -rw-r--r-- | regression/resource_json_date.html | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/regression/resource_json_date.html b/regression/resource_json_date.html deleted file mode 100644 index 4b85a9f1..00000000 --- a/regression/resource_json_date.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE HTML> -<html xmlns:ng="http://angularjs.org"> -<head> - <script type="text/javascript" src="../src/angular-bootstrap.js" ng:autobind></script> - </script> - <script type="text/javascript"> - angular.module.ng('myService', function($resource){ - this.myData = $resource('resource_json_date.json'); - }, {$inject:['$resource'], $creation:'eager'}); - - /* The Controller object */ - MyController = function() { - this.inlineData = angular.fromJson('{reportDate:"2010-10-13T17:37:00Z"}'); - this.jsonData = this.myData.get(); - }; - - - - </script> -</head> -<body ng:controller="MyController" ng:init="$window.$root = this"> - <h3>This data is loaded with angular.fromJson:</h3> - {{ inlineData.reportDate | date }} - <hr/> - <h3>This data is loaded from a resource using a service:</h3> - <p>Name: {{ jsonData.name }}</p> - <p>Parsed date: {{ jsonData.reportDate }} (A date should be displayed here)</p> - -</body> -</html> |
