You can this git as bower dependency in your project
bower install https://github.com/bskyb-commerce/shop-prereg-client-validation
you can add following in dependencies of bower.json of your project
"prereg-client-validation": "[email protected]:bskyb-commerce/shop-prereg-client-validation.git",
You need to include 'preregCommonDirectives' as one of Angular Modules
Then you can just add directives in your input field of html page or template
for example : 'postcode-validate' can be used as following
Above example is used in Thunder website project . You will find few more examples in PreReg Thunder and Ethan projects
You can use all available directives in 'prereg-client-validation.js'