This blog is in continuation with my previous blogs on AngularJs, In this blog i am sharing a simple example in which i have used few AngularJs directives like ng-app, ng-init, ng-model and an AngularJs expression.
1)ng-app directive is used to initialise an AngularJS application.
2) ng-init directive is used to initialise application data.
3) ng-model directive is used to bind any html control's value to an application data.
Example:1 In the example given below an AngularJs expression is used inside which whatever formula is defined will read the input,resolve the expressions and the output will be the calculated value,