Removed $watch dependency