added createProfile() and ui-sref