I know that I can run:
scope.$watch(someItem, function(){})
But I can\'t figure out a way to watch over change of $state.$current.nam
$state.$current.nam
This works:
$scope.$watch(function(){ return $state.$current.name }, function(newVal, oldVal){ //do something with values })