Fixing issue with x/yAxisDomain Attribute

The xAxisDomain and yAxisDomain attributes do not work correctly when referencing data from the scope.

Here is a plunkr illustrating the problem: http://plnkr.co/edit/F4fmWp?p=preview


The xDomain/yDomain methods take an array, not a function.  Note - It looks like there will be a similar issue with the x/yAxisRange attributes.