summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.ng2
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2016-05-31 17:50:56 -0700
committerTim Hatch <tim@timhatch.com>2016-05-31 17:50:56 -0700
commit3aab2cf6b9a8502c0c04f20992dd1330e565bf7e (patch)
tree8e78d941d69b62dd2884c32bbaba52baa2fc6d1b /tests/examplefiles/example.ng2
parenta0006c636c7db5d2333ba2e91a75e3da377b6efb (diff)
parent9be7169467e3ab7b3e1fa9b3e4b310786e6a6366 (diff)
downloadpygments-git-3aab2cf6b9a8502c0c04f20992dd1330e565bf7e.tar.gz
Merge mjem/pygments-main (Pull Request #588)
Diffstat (limited to 'tests/examplefiles/example.ng2')
-rw-r--r--tests/examplefiles/example.ng211
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/examplefiles/example.ng2 b/tests/examplefiles/example.ng2
new file mode 100644
index 00000000..0f424aca
--- /dev/null
+++ b/tests/examplefiles/example.ng2
@@ -0,0 +1,11 @@
+<div>
+ <p>{{order.DueTime | date:'d. MMMM yyyy HH:mm'}}</p>
+ <p>Status: {{order.OrderState}}</p>
+ <button (click)="deleteOrder()" *ngIf="cancelable" [value]="test" [(twoWayTest)]="foo.bar">Remove</button>
+ <ul>
+ <li *ngFor="#meal of order.Positions">
+ {{meal.Name}}
+ </li>
+ </ul>
+ <p>Preis: <b>{{order.TotalPrice | currency:'EUR':true:'1.2-2'}}</b></p>
+</div> \ No newline at end of file