changed ng-view to use directive style syntax