Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit cf6023e

Browse files
committed
docs($interpolateProvider): fixing docs
1 parent 2034871 commit cf6023e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/ng/interpolate.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
/**
4-
* @ngdoc function
4+
* @ngdoc object
55
* @name ng.$interpolateProvider
66
* @function
77
*
@@ -20,7 +20,8 @@ function $InterpolateProvider() {
2020
* @description
2121
* Symbol to denote start of expression in the interpolated string. Defaults to `{{`.
2222
*
23-
* @prop {string=} value new value to set the starting symbol to.
23+
* @param {string=} value new value to set the starting symbol to.
24+
* @returns {string|self} Returns the symbol when used as getter and self if used as setter.
2425
*/
2526
this.startSymbol = function(value){
2627
if (value) {
@@ -38,7 +39,8 @@ function $InterpolateProvider() {
3839
* @description
3940
* Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.
4041
*
41-
* @prop {string=} value new value to set the ending symbol to.
42+
* @param {string=} value new value to set the ending symbol to.
43+
* @returns {string|self} Returns the symbol when used as getter and self if used as setter.
4244
*/
4345
this.endSymbol = function(value){
4446
if (value) {

0 commit comments

Comments
 (0)