appended data- to ng directives, return empty array for use in plans#show course filtering upon empty search