ok, I found a solution.

<div class="input-group">
                                                <span 
class="input-group-addon">C. Name</span>
                                                <input type="text" 
class="form-control" ng-model="CustomerName"
                                                      
 typeahead="customer.CustomerName for customer in customerArray | 
filter:$viewValue"
                                                       placeholder="Enter 
Customer" typeahead-on-select="selectCustomer($item)">
                                            </div>

//Typeahead Customer select
    $scope.selectCustomer = function (customer) {
        $scope.CustomerName = customer.CustomerName;
        $scope.CustomerAddress = customer.CustomerAddress;
    };



On Sunday, August 24, 2014 6:27:45 AM UTC-5, Rudy Sanchez wrote:
>
> I'm not sure on that, I have never used it before. After doing some more 
> reading last night I learned that Twitter moved it out of bootstrap and 
> into typeahead.js. and there is angular-ui typeahead that is similar to the 
> old bootstrap version. What is the best way to go on this? 
> On Aug 24, 2014 5:11 AM, "Sander Elias" <[email protected]> wrote:
>
>> Hi Rudy,
>>
>>
>> Witch type-ahead do you want to use? it's not provided by angular, so you 
>> need to load one into your plunker before you can use it.
>> your comprehension expression looks a bit awkward to me, I don't think 
>> you are receiving what you expect there.
>>
>>
>> Regards
>> Sander
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "AngularJS" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/angular/Y6gzPi72i6Y/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/d/optout.
>>
>

-- 
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/d/optout.

Reply via email to