Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Commit

Permalink
v0.0.0: added README
Browse files Browse the repository at this point in the history
  • Loading branch information
akatov committed Nov 11, 2013
1 parent 4623f9c commit 85b983a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Angular layout directive

layout.html
```html
<table>
<tr>
<td>
<yield content_for="left">
</td>
<td>
<yield content_for="right">
</td>
</tr>
</table>
```

main.html
```html
<ng-layout src="layout.html">
<div content_for="left">
Hello
</div>

<div content_for="right">
{{ name }}
</div>
</ng-layout>
```

0 comments on commit 85b983a

Please sign in to comment.