Kelly Milligan
Member since Sep 6, 2013
- Profile: /members/11219-kelly-milligan.htm
- Comments: 2
Recent Blog Comments By Kelly Milligan
-
Using Base Controllers In AngularJS - An Experiment
Posted on Sep 11, 2013 at 9:55 AM
@Phil, Yes, this will partially handle things. I guess I just didn't want to have to map things to the scope all the time. calling the constructor of BaseController, if I understand your suggestion correctly, will inherit those methods, but not prototypically, meaning that every instance will hav... read more »
-
Using Base Controllers In AngularJS - An Experiment
Posted on Sep 6, 2013 at 9:25 PM
It is hard to believe this is the only way, however that being said I am glad you decided to experiment and do it! I disagree with previous comment and definitely think a more built in way to do prototypal inheritance is needed. There are definitely cases where methods on the scope or other methods... read more »