Angularjs structural changes, resources, views