changing app architecture in accordance with http://stackoverflow.com/questions/12863663/angularjs-complex-nesting-of-partials-and-templates