Transformed angularTalk into a directive