diggerapi angular JS directive representing a single page in an application - uses ui-router to setup routes