angular binding for dygraphs