An angular directive to easily apply focus on an element through the use of events