docs($interpolateProvider): fixing docs

This commit is contained in:
Igor Minar 2012-08-10 22:23:36 -07:00
parent 2034871764
commit cf6023ef22

View file

@ -1,7 +1,7 @@
'use strict'; 'use strict';
/** /**
* @ngdoc function * @ngdoc object
* @name ng.$interpolateProvider * @name ng.$interpolateProvider
* @function * @function
* *
@ -20,7 +20,8 @@ function $InterpolateProvider() {
* @description * @description
* Symbol to denote start of expression in the interpolated string. Defaults to `{{`. * 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){ this.startSymbol = function(value){
if (value) { if (value) {
@ -38,7 +39,8 @@ function $InterpolateProvider() {
* @description * @description
* Symbol to denote the end of expression in the interpolated string. Defaults to `}}`. * 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){ this.endSymbol = function(value){
if (value) { if (value) {