Added Inheritance and Controller.resolve

Added Inheritance for Controllers and Controller.resolve taken from:
https://github.com/toddmotto/angularjs-styleguide/edit/master/README.md