Skip to content

Instantly share code, notes, and snippets.

View aryehbeitz's full-sized avatar

Aryeh Beitz aryehbeitz

View GitHub Profile

Keybase proof

I hereby claim:

  • I am aryehbeitz on github.
  • I am aryehbeitz (https://keybase.io/aryehbeitz) on keybase.
  • I have a public key ASC2TKWYOS0yXOw7BzcnEDNKEbbhPj0zu1Dlfgjh40FTJwo

To claim this, I am signing this object:

@aryehbeitz
aryehbeitz / angularjs_directive_attribute_explanation.md
Created March 13, 2017 11:12 — forked from CMCDragonkai/angularjs_directive_attribute_explanation.md
JS: AngularJS Directive Attribute Binding Explanation

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>

Keybase proof

I hereby claim:

  • I am aryehbeitz on github.
  • I am aryehbeitz (https://keybase.io/aryehbeitz) on keybase.
  • I have a public key whose fingerprint is CBD5 6A91 DA4C 0418 F2B9 78EB B590 1D1E 38E8 337A

To claim this, I am signing this object: