Added the use of ui-route instead of ng-route for template purpose