 
       if attrs.macSpinnerColor?
         attrs.$observe "macSpinnerColor", (value) ->
-          bars.css "background", value if value? and value
+          updateBars "background", value if value? and value
       else
-        bars.css "background", defaults.color
-
+        updateBars "background", defaults.color
 ]


  compile: (element, attrs) ->
    prefixes = ["webkit", "Moz", "ms", "O"]
    vendor = (el, name) ->
      name = util.capitalize name
      return prefix+name for prefix in prefixes when el.style[prefix+name]?
      return name

    animateCss   = vendor element[0], "animation"
    transformCss = vendor element[0], "transform"

      degree = i * 36
      styl   = {}
      bar    = angular.element """<div class="bar"></div>"""

      # Cache each bar for css updates
      bars.push bar[0]

      styl[animateCss]   = "fade 1s linear infinite #{delay}s"
      styl[transformCss] = "rotate(#{degree}deg) translate(0, 130%)"
