[refactor] more clean up of how components of the application are
registered in the angularjs ecosystem, making it less magical and
more striaghtforward.