Nested navigation is not working

I am creating login screen and navigating to next screen but not able to navigate to furtherscreen through ng-click event. I am able to navigate to further screen with ui-sref .

when i call function from ng-click,it is executing staements before $state.go(’’) and from this it is not going further.It looks $state.go(’’) not working.

Please suggest me on this. if possible provide me some tutorial with nested navigation with out ui-sref.