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