fix error in ng-route
minor changes on chart page
refactoring on dataset controller