title: angular ui router back button issue
body: <pre><code>'use strict';
  
  angular.module('cbApp')
    .config(function ($stateProvider) {
      $stateProvider
        .state('search', {
          url: '/college/search',
          templateUrl: 'app/collegesearch/views/collegesearch.html',
          controller: 'collegeSearchCtrl'
        })
  
        .state('searchCollegeFilter', {
          url: '/college/search/:streamId?cities&amp;courses&amp;branches&amp;ordering',
          templateUrl: 'app/collegesearch/views/collegesearch.html',
          controller: 'collegeSearchCtrl'
        });
  
    });
  </code></pre>
  
  <p>Here my application calls the 1st state i.e 'search' with a url /college/search. Inside the controller I transition to another state searchCollegeFilter.
  What I wanna do is navigate the user back to the back they came from when they click the browser back button. Say they came from '/' I want them to go back to home page. But in browser back history there are 2 entries for college/search. I want this to happen only for the 1st time.</p>