getting angular to control pages, making models auto-destroy relations their hasmanies