Upgraded to AngularJS 1.2.5.
Using goBack instead of hardcoded urls in cancel buttons

Added goBack function to Util and used that instead of hard coding
gotoURL(‘/main’).