Added alternative way to provide view params by added a script tag with type application/json inside of a view