Showing posts from November, 2017

ng-controller dynamic load

Basically, We use the ng-controller will declare as below. Now, We have an issue is that the ng-controller need to be injected dynamically, So that we can use different controllers, e.g. ng-controller="vm.GetConroller() as vm" ps: This code snippet cannot be run.