Added content to $data

$data doesn't exist. So passing it to the view will result in an error.

I've created $data with an empty content, as this is a Sample module, so someone can use it.
You can also delete ",$data" in line 50, because it's  not necessary.