How to subscribe on property change when using controller as syntax?
controller as
controller(\'TestCtrl\', function ($
You can use:
$scope.$watch("test.name",function(value){ console.log(value) });
This is working JSFiddle with your example.