Angular Get Current Url Javascript Interview