Add missing semicolons
Replaced $scope.$watchGroup from angular 1.3 to $scope.$watch for backward compat.