Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
fix(demo): correct demo of translate-values
Browse files Browse the repository at this point in the history
  • Loading branch information
knalli authored and 0x-r4bbit committed Apr 2, 2014
1 parent 40af7ce commit 7de2ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/ex1_basic_usage.htm
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ <h2 translate="SUBHEADER">Subheader</h2>
<p>{{'DATA_TO_FILTER' | translate: tlData}}</p>

<!-- Passing a data object to the translation by the directive -->
<p translate="DATA_TO_DIRECTIVE" values="{{tlData}}"></p>
<p translate="DATA_TO_DIRECTIVE" translate-values="{{tlData}}"></p>

<hr>

<!-- Passing a raw data to the filter -->
<p>{{'RAW_TO_FILTER' | translate:'{ type: "raw" }' }}</p>

<!-- Passing a raw data to the filter -->
<p translate="RAW_TO_DIRECTIVE" values="{ type: 'directives' }"></p>
<p translate="RAW_TO_DIRECTIVE" translate-values="{ type: 'directives' }"></p>

<hr>

Expand Down

0 comments on commit 7de2ae2

Please sign in to comment.