mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-10 21:24:20 +01:00
13 lines
285 B
JavaScript
13 lines
285 B
JavaScript
Application.Directives.directive('postRender', [ '$timeout',
|
|
function ($timeout) {
|
|
return ({
|
|
restrict: 'A',
|
|
terminal: false,
|
|
transclude: false,
|
|
link: function (scope, element, attrs) {
|
|
$timeout(scope[attrs.postRender], 0);
|
|
}
|
|
});
|
|
}
|
|
]);
|