Back-end models, angularjs structure and routes, angular model stubs and basic bridge detection