Basics displaying strings

Basics of Angular
Change the names given below.
First Name:
Last Name:

Welcome : {{f_name + " " + l_name}}
<div ng-app="my_app" ng-controller="my_ctrl">

First Name: <input type="text" ng-model="f_name"><br>
Last Name: <input type="text" ng-model="l_name"><br>
<br>
Welcome : {{f_name + " " + l_name}}

</div>

<script>
var app = angular.module('my_app', []);
app.controller('my_ctrl', function($scope) {
  $scope.f_name= "Robort";
  $scope.l_name= "King";
});
</script>
Basics of Angular Basics of Angular :reading JSON
Angular Home

Post your comments , suggestion , error , requirements etc here

We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2024 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer