I have minified my example. I have some views with its viewmodel and globals.
Here is a part of my view:
Here is the viewModel for this View:
This is the way i did the namespace and the viewmodel. Is there a better way to do this ? And another problem is that the binding to the view of
only works if it is inside the device-ready function. Can you tell me what is the right, efficient and common way to do this. Can u give an example how to works with namespaces and observables. If I wrap the document ready function at the beginning it still is not binding.
Another problem is this:
It doesnt get the url, how is the right way. Thank you.