added angular ui router for handling nested views
added some comments