Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular2を書くためのAngularJSの書き方

 Angular2を書くためのAngularJSの書き方

Tessei Yoshida

March 21, 2016
Tweet

More Decks by Tessei Yoshida

Other Decks in Programming

Transcript

  1. Directive Component bindings No Yes (binds to controller) bindToController Yes

    (default: false) No (use bindings instead) compile function Yes No controller Yes Yes (default function() {}) controllerAs Yes (default: false) Yes (default: $ctrl) link functions Yes No multiElement Yes No priority Yes No require Yes Yes restrict Yes No (restricted to elements only)
  2. Directive Component scope Yes (default: false) No (scope is always

    isolate) template Yes Yes, injectable templateNamespace Yes No templateUrl Yes Yes, injectable terminal Yes No transclude Yes (default: false) Yes (default: false)
  3. Data List component Data Detail Component Data Detail Component Data

    Detail Component Data Store Service WEB API onDelete onChange