Convert Text to URL format using AngularJS Filter

Input Text: Output URL: {{inputString | clean}}