angularjs – ng-switch does not bind ng-model
This is a scope inheritance problem due to ng-switch creating its own scope. One recommendation made often is always to use a dot on models. The reason is that when the controller scope item is an object and not a primitive, sub scopes will create a reference to the initial object. If model is a … Read more