Amendments made due to Angular JS updates

affected pages are profile and challenges.html