add resolve and remove duplicate ng-controller from view

Add resolve in route to load data before displaying views.
Remove ng-controller from views, there are set by the routes and cause bugs with resolve when both are used.