$state.go and $state.otherwise problem

I’m trying to go to a page(template) using $state.go and my code in the controller.js file is:

.controller(‘NavCtrl’, function($scope, $location, $state) {
$scope.openDaily = function() {

It works but for only a millisecond or something as it’s redirected BACK to the ‘/select’ page because the $state.otherwise says so, the code in app.js is:

.config(function($stateProvider, $urlRouterProvider) {
.state(‘select’, {
templateUrl: ‘templates/select.html’,
controller: ‘selectController’
.state(‘daily’, {
templateUrl: ‘templates/daily.html’,
controller: ‘dailyController’

What is causing this please?