mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-25 22:33:44 +00:00
docs($interpolateProvider): fixing docs
This commit is contained in:
parent
2034871764
commit
cf6023ef22
1 changed files with 5 additions and 3 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue