fixed server encode/decode uri names
modal on detail and other angular stuff