From f16150d5f1b20b3d633b4402095ea89baa4be042 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 11 Jun 2012 23:49:24 -0700 Subject: docs(*): simplify doc urls we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions --- src/ngSanitize/directive/ngBindHtml.js | 6 +++--- src/ngSanitize/filter/linky.js | 2 +- src/ngSanitize/sanitize.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/ngSanitize') diff --git a/src/ngSanitize/directive/ngBindHtml.js b/src/ngSanitize/directive/ngBindHtml.js index 8141dd63..346acff0 100644 --- a/src/ngSanitize/directive/ngBindHtml.js +++ b/src/ngSanitize/directive/ngBindHtml.js @@ -3,13 +3,13 @@ /** * @ngdoc directive - * @name angular.module.ngSanitize.directive.ngBindHtml + * @name ngSanitize.directive:ngBindHtml * * @description * Creates a binding that will sanitize the result of evaluating the `expression` with the - * {@link angular.module.ngSanitize.$sanitize $sanitize} service and innerHTML the result into the current element. + * {@link ngSanitize.$sanitize $sanitize} service and innerHTML the result into the current element. * - * See {@link angular.module.ngSanitize.$sanitize $sanitize} docs for examples. + * See {@link ngSanitize.$sanitize $sanitize} docs for examples. * * @element ANY * @param {expression} ngBindHtml {@link guide/expression Expression} to evaluate. diff --git a/src/ngSanitize/filter/linky.js b/src/ngSanitize/filter/linky.js index c30665a2..e5b54397 100644 --- a/src/ngSanitize/filter/linky.js +++ b/src/ngSanitize/filter/linky.js @@ -1,6 +1,6 @@ /** * @ngdoc filter - * @name angular.module.ngSanitize.filter.linky + * @name ngSanitize.filter:linky * @function * * @description diff --git a/src/ngSanitize/sanitize.js b/src/ngSanitize/sanitize.js index c8d28315..677b11d3 100644 --- a/src/ngSanitize/sanitize.js +++ b/src/ngSanitize/sanitize.js @@ -2,7 +2,7 @@ /** * @ngdoc overview - * @name angular.module.ngSanitize + * @name ngSanitize * @description */ @@ -25,7 +25,7 @@ /** * @ngdoc service - * @name angular.module.ngSanitize.$sanitize + * @name ngSanitize.$sanitize * @function * * @description -- cgit v1.2.3