refactor(tagsInput): implement ng event handlers instead of Jquery

This pullrequest refactors the Jquery eventhandlers to native angular
'ng' event handlers. This makes the code more readible and
maintainable.