Fixed bugs

Fixed showEmptyDataMessage
Add angular directive