Create directive to deal w/ loading and empty data