Implemented directive to validate url
Updated AngularJS to 1.3