Prev Demo
AngularJS
>
Filters
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script> </head> <body> <h2>Filters in AngularJS</h2> <div ng-app> <p>All upper: {{'sheonarayan' | uppercase}}</p> <p>Limit to 4 : {{'Sheo Narayan' | limitTo:4 }}</p> <p>All lower: {{'SHEONARAYAN' | lowercase }}</p> <p>Title case: {{'2552.25' | currency }}</p> <p>Number: {{'2552' | number }}</p> </div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output