adding new logic for urlparams and widdata in ngWidApp