Fixed simple directive template.

It was returning an object instead of constructor function.