Showing posts with label amgularjs. Show all posts
Showing posts with label amgularjs. Show all posts

3/1/15

AngularJS ng-model Concatenate Model Values

In order to concatenate a model property values in AngularJS, we need to create an extended property on the model and then use that property with the ng-model directive. We can illustrate this with the following angular module:         var app = angular.module('app', []);         app.controller('AppCtrl', function ($scope)...