Angular directive for creating nested views