Profile form validation and activeOnPath directive