Controller inheritance with injection
问题 I'm having a hard time trying to understand the best way to achieve inheritance with my controllers. I've seen a few other posts here about these but I still don´t get some things. Here's what I have: - 2 controllers which are 80% similar. I already have a factory which both use to get the data which will be displayed. - I use the controllerAs notation, with var vm = this - there's a mix of vars and functions which will be used in the view and therefore are created inside vm, and some other