angular / router

The Angular 1 Component Router
MIT License
665 stars 135 forks source link

controllerAs: '$$ngViewport' cannot access viewPort when using namespace in Controller names #315

Closed maciossek closed 3 years ago

maciossek commented 9 years ago

Hey there,

I currenty work with the 0.5.3 version. My Controllers have names like: app.home.HomeController, thus they cannot be accessed on my view via app.home.

I am not completely sure how to solve this, because we would need some kind of convention on how to use namespace controller names with the controllerAs Syntax.

It does not seem that setComponentFromCtrlMapping is getting called, so I cant overwrite it.