From 41346a784db29f70ef604f32771c01bfeb8b0bac Mon Sep 17 00:00:00 2001 From: Shannon Date: Tue, 18 Jun 2013 20:18:08 +1000 Subject: [PATCH] adds ngdocs --- .../directives/umbpropertyinclude.directive.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/umbpropertyinclude.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/umbpropertyinclude.directive.js index bbd39142a5..1d92b8e072 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/umbpropertyinclude.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/umbpropertyinclude.directive.js @@ -1,6 +1,15 @@ - -//This is a specialized version of ng-include (yes the code is borrowed). We need to know if the property editor -//contents requires a async JS call made before we compile. +/** + * @ngdoc directive + * @name umbraco.directives:umbPropertyInclude + * + * @description + * This is a specialized version of ng-include (yes the code is borrowed). We need to know if the property editor + * contents requires a async JS call made before we compile. + * + * @restrict A + * @element ANY + * @param umbPropEditorHelper {umbPropEditorHelper} a utility class for dealing with property editors/paths + */ function umbPropertyInclude($http, $templateCache, $anchorScroll, $compile, umbPropEditorHelper) { return { restrict: "E", //restrict to element