docs(directive): old syntax

This commit is contained in:
Miško Hevery 2012-12-18 20:39:17 -08:00
parent 1104c7d75b
commit cffa015554

View file

@ -591,10 +591,10 @@ Therefore the final directive definition looks something like this:
<pre> <pre>
transclude: true, transclude: true,
scope: { scope: {
title: 'bind', // set up title to accept data-binding title: '=', // set up title to accept data-binding
onOk: 'expression', // create a delegate onOk function onOk: '&', // create a delegate onOk function
onCancel: 'expression', // create a delegate onCancel function onCancel: '&', // create a delegate onCancel function
show: 'accessor' // create a getter/setter function for visibility. show: '='
} }
</pre> </pre>