Changed view layer to use angular ui bootstrap