I have a view where I have the following code:
T
Simplest Solution is to use $Window Service and old Approach
I will not write whole angular JS. Only code that matters:
HTML-Code
JS-Code
self.goBack = function(){
$window.history.back();
};