fixed isolated scope and added a top bar