I’m guessing it’s because you aren’t using “dot notations”.
$scope.volume = 5
You need to use :
$scope.data = { 'volume' : 5}
Definitive Resource : https://github.com/angular/angular.js/wiki/Understanding-Scopes
I’m guessing it’s because you aren’t using “dot notations”.
$scope.volume = 5
You need to use :
$scope.data = { 'volume' : 5}
Definitive Resource : https://github.com/angular/angular.js/wiki/Understanding-Scopes