ng-controller dynamic load
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt9CME8RgCNzLvaBHAc5N0dVSgLRnwoQfwfCHn223hF7voXbj-kRx7DxB7qvKmWTSIhyphenhyphenOCljtIGGjN1l1ZIXXjESavKzT6_ylmtPSwIKAryCA867441fy3nIaDieawvJV9EeKYWqKn06M/s640/5fd9c6fd2d840dca43c174f57b03fc8f-755817.png)
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.