Add scope.$last sentence in order to execute menu functionality once the ng repeat gets into the last element.(still testing)
Add new attribute in order to control highlight validation.
Remove un necessary link function.