Creating Single Page Applications with AngularJS framework