Got angular base working with directive