angular directive that creates ads