improve ionic syntax for ui-view