I have to create a Mock functionality which will allow the user to dial through the screen.The problem is on select of particular Keypad the number is not appearing in the Text Box which is bind with it.
<input type="text" class="form-control" data-ng-model="phone_number"></input>
<bc-keypad bc-number-model="phone_number"></bc-keypad>
module.exports = {
client: {
lib: {
css: [
'public/lib/angular-keypad/dist/angular-keypad.css'
],
js: [
'public/lib/angular-keypad/dist/angular-keypad.js'
]
},
};
Below is my config.js where i have added my dependency
var applicationModuleVendorDependencies = ['..','..'bc.AngularKeypad'];
My Controller Code is below :
var app = angular.module('dialer');
app
.controller(
'messageController',
function($scope, $http, $rootScope, dashboardServices, incidentServices, $state, $stateParams, $modal) {
$scope.init = function() {
I am using ng-keypad for this and i m pretty new in angular js and use the below link to create the dialer.