title: HTML Hex color code in ng-style not working
body: <p>I have the below HTML, in which I change the background color of the div when a user selects one of the div from the list.    </p>
  
  <pre><code>    &lt;div class="myDefaultCssForDiv"
           ng-style="{'background': (myListItems.selectedId == dataItem.id? 'red':'white')}"
           id="{{dataItem.id}}" &gt;
  </code></pre>
  
  <p>The problem is that when I change from color name to color hex code I start getting Angular errors, how can I fix this? </p>
  
  <pre><code>    &lt;div class="myDefaultCssForDiv"
           ng-style="{'background': (myListItems.selectedId == dataItem.id? '#A01384':'#ffffff')}"
           id="{{dataItem.id}}" &gt;
  </code></pre>
  
  <p><strong>Errors that I get in console logs:</strong></p>
  
  <pre><code>Error: Invalid template:'my div code here' angular.min.js:107 
  TypeError: f is not a function angular.min.js:107
  </code></pre>