1.

Numbers And Strings

Answer»

Numbers And Strings
Here we have handle the numbers in AngularJS. As in previous chapter we knows that Number handling is same as we DONE in JavaScript numbers.

Below i have mentioned 2 EXAMPLES one is with ng-bind directive and 1 is WITHOUT ng-bind directive.

Syntax of AngularJS Number Example1


AngularJS Numbers
Syntax of AngularJS Number EXAMPLE2 with ng-bind


AngularJS Numbers2

As we handle the numbers in JavaScript same we done with strings in JavaScript. Below are 2 example for this 1 is with ng-bind and 1 is without ng-bind.

Syntax of AngularJS String Example1


AngularJS String

Syntax of AngularJS String Example2 with ng-bind


AngularJS String2



Discussion

No Comment Found