Thorough input validation before tag creation

Before creating a tag, check for undefined, all empty spaces or only comma. If any of the one case is met then do not create a tag.
Create tag on blur event

When blur event is called on textbox then immediately create a tag. In order to implement this, isolated scope methods are invoked from the controller rather than the template itself.