refactor: introduce base class for AngularJS controllers
Merge pull request #186 from 9ci/refactor-base-ctrl

Better syntax for controllers