From cf6023ef2215ef9f7be970413763abb72253f179 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 10 Aug 2012 22:23:36 -0700 Subject: docs($interpolateProvider): fixing docs --- src/ng/interpolate.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/ng/interpolate.js') diff --git a/src/ng/interpolate.js b/src/ng/interpolate.js index 06f05ed2..3011e8c6 100644 --- a/src/ng/interpolate.js +++ b/src/ng/interpolate.js @@ -1,7 +1,7 @@ 'use strict'; /** - * @ngdoc function + * @ngdoc object * @name ng.$interpolateProvider * @function * @@ -20,7 +20,8 @@ function $InterpolateProvider() { * @description * Symbol to denote start of expression in the interpolated string. Defaults to `{{`. * - * @prop {string=} value new value to set the starting symbol to. + * @param {string=} value new value to set the starting symbol to. + * @returns {string|self} Returns the symbol when used as getter and self if used as setter. */ this.startSymbol = function(value){ if (value) { @@ -38,7 +39,8 @@ function $InterpolateProvider() { * @description * Symbol to denote the end of expression in the interpolated string. Defaults to `}}`. * - * @prop {string=} value new value to set the ending symbol to. + * @param {string=} value new value to set the ending symbol to. + * @returns {string|self} Returns the symbol when used as getter and self if used as setter. */ this.endSymbol = function(value){ if (value) { -- cgit v1.2.3