$scope.ssn: {{ ssn }}
Try it:
<input type="text" phone ng-model="ssn" />
Check out the source for this page for more details. All we used was this for the main.js file:
'use strict'; var app = angular.module('app', [ 'input-ssn' ]); app.controller('MainCtrl', function ($scope) { $scope.ssn = 123456789; });