AngularJS, .service, .controller, .config, Angular UI Router, few fixes.