jQueryのプラグイン使うときに、モデルの値が読み込まれてからjQueryプラグイン適用したい場合があったので、directiveでやってみることに。 sampleはこちら ###* * angular at-on-load-element * * @author atomita * @license MIT * @version 0.0.1 ### angular.module("at-on-load-element", []).directive("atOnLoadElement", ["$timeout", ($timeout)-> { restrict: "AC" scope: true link: (scope, iElement, iAttrs)-> apply = iAttrs.atOnLoadElement if apply scope.element = iElemen