refactored profile page into a directive; implemented single page app navigation with angular ui-router (initial commit)