Bind the style tag if the angular version is > 3
Validations can now be made by promises