I came across this too, and docs don't show how to connect to boottrap updater .
I did this by setting the initial value to a string. When you enter in the model field there will be a line. When you select from the drop-down list, it will be an object
app.controller('MainCtrl', function($scope) { $scope.data = [{id:1,name:"google"}, {id:2, name:"microsoft"}]; $scope.selected = ''; $scope.$watch('selected',function(newVal,oldVal){ if(newVal && angular.isObject($scope.selected)){ console.log($scope.selected) } }) });
Plunker
This may be the best way to use directive attributes, but not sure what it is
source share