Gui 1158 fix Fixed the cancel button and other links due to the use of Angular $location