You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
カスタムディレクティブのcontroller関数とrequire属性について確認しました。下記サイトを参考にしました。 http://www.sitepoint.com/practical-guide-angularjs-directives-part-two/ ●controller関数 ・controllerはプレリンキング前に初期化される。 ・他のディレクティブと共有できる。 これによってディレクティブ間で情報のやり取りができ、豊富な振る舞いを利用できる。 ●require ・他のディレクティブとrequireし、そのコントローラを4つの引数とリンク関数にインジェクトする。 ●サンプルコード http://plnkr.co/edit/NMWGE6l9p1tBZh3jCfKn?p=preview ・'innerDirective'のrequire: '^outerDirective'
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く