Expanded viewBindingHandler and fixed a bug when loading viewModels

related to #429