Will ngMessages still work in ionic 2?


i used to work with ngMessages in ionic1 with all my forms for validating user inputs and now i’m wondering if we can still use it in ionic 2/Angluar 2, since in ionic 1/angularjs 1 we inject ‘ngMessages’ in order to use it but in the new angular the concept is totally different, so i’m really confused.

if anyone have idea i will be thankful.

Best regards,

I found the solution in this article: https://coryrylan.com/blog/angular-2-form-builder-and-validation-management
using FormBuilder, Validators from angular2/common

hope it might help other developers who have same question.