Quando você precisa voltar pra a página anterior do seu sistema em AngularJS, basta usar assim:
Back
myModule.run(function ($rootScope, $location) {
var history = [];
$rootScope.$on('$routeChangeSuccess', function() {
history.push($location.$$path);
});
$rootScope.back = function () {
var prevUrl = history.length > 1 ? history.splice(-2)[0] : "/";
$location.path(prevUrl);
};
});
Referência: angularjs-getting-previous-route-path