Hi Ujwala,
My suggestion is to check the dependency reference to add that function, it's available in reactive as well. This will be helpful when moving your application from one environment to another else you have to manually manage the environment part (one way is using site property, but this is not a good idea )
