change ng-view to directive