title: how to change angular map marker color based on condition?
body: <p>Made a syntax error and I am not able to understand where. Please check the following code.</p>
  
  <pre><code>&lt;agm-marker *ngFor="let d of devices" [iconUrl]="'http://chart.apis.google.com/chartchst=d_map_pin_letter&amp;chld=%E2%80%A2|'+ (d.status=='1')? '#008000' : '#ff0000'"
  [latitude]="d.latitude" [longitude]="d.longitude"&gt;
  &lt;/agm-marker&gt;
  </code></pre>