Default Text input

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>
Welcome : {{f_name + " " + l_name}}


var app = angular.module('my_app', []);
app.controller('my_ctrl', function($scope) {
  $scope.f_name= "Robort";
  $scope.l_name= "King";

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 All rights reserved worldwide Privacy Policy Disclaimer