AngularJS / AngularJS DirectivesAngularJS Directives are HTML attributes with an ng prefix.
ng-app Directive defines AngularJS application.
ng-init Directive is Used to initializes AngularJS application variables.
AngularJS Expressions
AngularJS Expressions are used for calculations
Example 2
ng-model Directive binds input field value to the application variable name. Addition of Two Numbers Program in AngularJS
Addition of Two Numbers Program in AngularJS
Example color
Addition of Two Numbers Program in AngularJS =Data Binding
Addition of texts Program in AngularJS
|