Ohhh, I got it.
Amazing Thanks. But I want to know more about this what if I got already 
selected data from db. I mean I am using Firebase db which provides me 
record as below 


<https://lh6.googleusercontent.com/-8Z6f5VmcuDE/UxhJX1cm4-I/AAAAAAAAAkA/Uwbkh6Wq_IM/s1600/Untitled.png>


As you told me...

$scope.newData = {}

$scope.newData.designation = $scope.designations[0].value;
sets my default value but how can I fetch my data from this(look image ) ?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to