Web Technologies (Unit-5)
Web Technologies (Unit-5)
Enter your Name:
Welcome
Output
My First Angular’ XE
| AngularJS Application
ee el
|
| Welcome MrX¥Z
€ © file:///c:/FirstApp.htm!
Enter your Name:
Script Explanation :
1. The AngulardS script is written within tags. The AngualarIS is based on
JavaScript framework. The framework for Angular}S is loaded using the
Welcome
The elements are - The name is {{ user | lowercase }}
we
Sa swatch when's
~p> You nave chosen Bino Calas Sys
saw
~Aiv>
Sly
Message will be changed after 5 seconds Enter first number: Enter second number:
jty">
User:
‘
Output
ie : ESE OG
bx CSE
€ © file///d:/Contro!! e » =
User:
TECHNICAL PUBLICATIONS® - an up-thrus for knowledge1.10 __hracton to Arglr and Wob AppcationsFremonerg
Wb Techinologios _
Roview Question
Tata ems of contain AnguardS 2 Explain it with the help of an exampre,
ab a .
Filters
+ Filters are used to modify the data,
«These are used along with expressions or directives using pipe (|) character,
+ Commonly used filters are -
= Purpose
uppercase Convers the texto uppercase
| lowercase Convers the text to lower case,
currency ‘Converts the number into currency format.
| orderBy Arranges the elements of the array based on criteria,
| filer Selects the subset of tems from array.
1. Example Demonstrating uppercase filter
AngularJS Document{FilterDemo1 html]
{{message}}
Addition of two numbers
You might also like