change some angular naming
use angular directive instead of controller