Skip to content

Commit c4668bb

Browse files
authored
Update README.md
1 parent 138ab47 commit c4668bb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,24 @@ $arr = [
4040

4141
echo \frdl\Templater\AdvancedReplacer::replace(\frdl\Context::create($arr),
4242
'<div>
43+
<h1 ng-bind="title"></h1>
4344
<p>Message: {{test.message}}</p>
4445
<p ng-show="show">this should be hidden</p>
4546
<p ng-if="!show">this should be visible</p>
4647
<p><a ng-repeat="item in items">{{item.property|ucfirst}}</a></p>
48+
4749
</div>');
4850

4951
/*
5052
//Renders to:
51-
<div>
53+
<div>
54+
<h1><p>Template Test Title</p></h1>
5255
<p>Message: Hello, World</p>
5356

5457
<p>this should be visible</p>
5558
<p><a>Value1</a><a>Value2</a></p>
56-
</div>
59+
60+
</div>
5761

5862
*/
5963
````

0 commit comments

Comments
 (0)