Added a new snippet for creating a controller that would be used via controllerAs.