Rectangle 27 0

javascript Bind two model names in one single input text box?


You can use ng-click and add break the name into 2 parts and assign it to the scope variable

You need to have 2 seperate text fields to bind first name and lastname. OR

Note
Rectangle 27 0

javascript Bind two model names in one single input text box?


If you need to edit your firstname and lastname from one single input field, then try using ngchange and call a function to split with space.

Note