Boilerplate GitHub angular directive example (adapted from https://github.com/darylrowland/angucomplete)