How to display Hello with Your name using the AngularJs

Today, We will start to learn with angularjs. So first We will discuss how to display Hello with Your name using the AngularJS. we will take one textbox and create the angular app using the bootstrap.

We will define that app using the ng-app=”firstApp” and ng-controller=”firstCtrl”. After then we will assign static word “World” with your name using the $scope object. When you type in textbox then data will be bind into the h2 tag.

So, I think would you like the below example.

Show Demo

Leave a Reply

Your email address will not be published. Required fields are marked *