up vote
down votefavorite 
<http://stackoverflow.com/questions/35284701/angularjs-change-custom-attribute-value-is-not-working#>

I'm working on google map. I want change the markers set base on dropdown 
select. But the problem is that the element that I bind is not recoginized 
by angularjs: the {{markers}} in markers attribute was passed as string.. 
upon inspecting it passed the "{{markers}}" once I removed the {{}} I get 
error..

<div style="padding-top:100px;padding-left:40;">
   <input type="search" id="search" placeholder="Search" ng-model="mymarks">
  <button class="button" ng-click=""  title="search"> test</button>      
   </div>

   <app-map id="appmap" style="height:700px;margin:0px;"
        center="loc"
        markers="{{mymarks}}"
         zoom=14  >

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to