From bf2c55ea297cc55786593dd4100468b7103df0ca Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Fri, 19 Sep 2014 22:36:15 +0100 Subject: [PATCH] docs($aria): add basic missing docs for the $aria service The individual service methods should be documented too. cc: @arbus --- src/ngAria/aria.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/ngAria/aria.js b/src/ngAria/aria.js index 19e20a90..5306d05d 100644 --- a/src/ngAria/aria.js +++ b/src/ngAria/aria.js @@ -45,7 +45,7 @@ var ngAriaModule = angular.module('ngAria', ['ng']). * Used for configuring aria attributes. * * ## Dependencies - * Requires the {@link ngAria `ngAria`} module to be installed. + * Requires the {@link ngAria} module to be installed. */ function $AriaProvider() { var config = { @@ -127,6 +127,17 @@ function $AriaProvider() { }; } + /** + * @ngdoc service + * @name $aria + * + * @description + * + * Contains helper methods for applying aria tags to HTML + * + * ## Dependencies + * Requires the {@link ngAria} module to be installed. + */ this.$get = function() { return { watchExpr: watchExpr,