more angularish now, introducing directive file and services