How to subscribe on property change when using controller as syntax?
controller as
controller(\'TestCtrl\', function ($
You can use $onChanges angular component lifecycle.
see documentation here: https://docs.angularjs.org/guide/component under Component-based application section