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:51:57 -0700
commitfd55bc8e1dd666693e123660f185a5e6b757ea24 (patch)
tree53107317fbec4040f7336d9bb483e31720a29e97 /src/ng/interpolate.js
parent541aaa4e08c2624ca337c1b8a24b07783c1a57a1 (diff)
downloadangular.js-fd55bc8e1dd666693e123660f185a5e6b757ea24.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) {