aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/interpolate.js
diff options
context:
space:
mode:
authorIgor Minar2012-08-10 22:23:36 -0700
committerIgor Minar2012-08-13 09:48:22 -0700
commitcf6023ef2215ef9f7be970413763abb72253f179 (patch)
tree0b833e1b739f319fe21dcec7e04a293923052483 /src/ng/interpolate.js
parent20348717640c0ef405c9fdcc8fec5b566efc48b3 (diff)
downloadangular.js-cf6023ef2215ef9f7be970413763abb72253f179.tar.bz2
docs($interpolateProvider): fixing docs
Diffstat (limited to 'src/ng/interpolate.js')
-rw-r--r--src/ng/interpolate.js8
1 files changed, 5 insertions, 3 deletions
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) {