Tuesday, 19 April 2016

lowercase and uppercase filter in angular

lowercase filter in angular:
To convert string to lowercase

syntax: {{ string_expression | lowercase}}
Ex: $scope.message = "hello from angular."
{{message | lowercase}}


uppercase filter in angular:

syntax: {{ string_expression | uppercase}}
To convert string to uppercase
Ex: $scope.message = "hello from angular."
{{message | lowercase}}

No comments:

Post a Comment